mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-25 08:58:06 +02:00
Update status bar field widths in case of language change
This commit is contained in:
parent
68999934e0
commit
312911645e
@ -899,6 +899,12 @@ void ProjectWindow::OnThemeChange(wxCommandEvent& evt)
|
||||
AdornedRulerPanel::Get( project ).ReCreateButtons();
|
||||
}
|
||||
|
||||
void ProjectWindow::UpdatePrefs()
|
||||
{
|
||||
// Update status bar widths in case of language change
|
||||
UpdateStatusWidths();
|
||||
}
|
||||
|
||||
void ProjectWindow::FinishAutoScroll()
|
||||
{
|
||||
// Set a flag so we don't have to generate two update events
|
||||
|
@ -14,6 +14,7 @@ Paul Licameli split from AudacityProject.h
|
||||
#include <memory>
|
||||
#include <wx/frame.h> // to inherit
|
||||
#include "TrackPanelListener.h" // to inherit
|
||||
#include "Prefs.h"
|
||||
|
||||
class AudacityProject;
|
||||
class Track;
|
||||
@ -25,6 +26,7 @@ class wxPanel;
|
||||
/// and zooming
|
||||
class ProjectWindow final : public wxFrame
|
||||
, public TrackPanelListener
|
||||
, public PrefsListener
|
||||
{
|
||||
public:
|
||||
static ProjectWindow &Get( AudacityProject &project );
|
||||
@ -138,6 +140,9 @@ public:
|
||||
|
||||
void OnThemeChange(wxCommandEvent & evt);
|
||||
|
||||
// PrefsListener implementation
|
||||
void UpdatePrefs() override;
|
||||
|
||||
public:
|
||||
// Message Handlers
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user