Fix a few more missing language-change updates.
Fixes: lp:1779513 * https://bugs.launchpad.net/kicad/+bug/1779513 (cherry picked from commit 8389c5c)
This commit is contained in:
parent
fb21069c5a
commit
6a7e6e7735
|
@ -1788,3 +1788,19 @@ void LIB_EDIT_FRAME::CommonSettingsChanged()
|
|||
Layout();
|
||||
SendSizeEvent();
|
||||
}
|
||||
|
||||
|
||||
void LIB_EDIT_FRAME::ShowChangedLanguage()
|
||||
{
|
||||
// call my base class
|
||||
SCH_BASE_FRAME::ShowChangedLanguage();
|
||||
|
||||
// tooltips in toolbars
|
||||
ReCreateHToolbar();
|
||||
ReCreateVToolbar();
|
||||
ReCreateOptToolbar();
|
||||
|
||||
// status bar
|
||||
UpdateMsgPanel();
|
||||
}
|
||||
|
||||
|
|
|
@ -720,6 +720,8 @@ public:
|
|||
*/
|
||||
void CommonSettingsChanged() override;
|
||||
|
||||
void ShowChangedLanguage() override;
|
||||
|
||||
private:
|
||||
///> Helper screen used when no part is loaded
|
||||
SCH_SCREEN* m_dummyScreen;
|
||||
|
|
|
@ -1508,3 +1508,20 @@ void SCH_EDIT_FRAME::CommonSettingsChanged()
|
|||
Layout();
|
||||
SendSizeEvent();
|
||||
}
|
||||
|
||||
|
||||
void SCH_EDIT_FRAME::ShowChangedLanguage()
|
||||
{
|
||||
// call my base class
|
||||
SCH_BASE_FRAME::ShowChangedLanguage();
|
||||
|
||||
// tooltips in toolbars
|
||||
ReCreateHToolbar();
|
||||
ReCreateVToolbar();
|
||||
ReCreateOptToolbar();
|
||||
|
||||
// status bar
|
||||
UpdateMsgPanel();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1523,6 +1523,9 @@ public:
|
|||
*/
|
||||
void CommonSettingsChanged() override;
|
||||
|
||||
void ShowChangedLanguage() override;
|
||||
|
||||
|
||||
///> Probe cursor, used by circuit simulator
|
||||
const static wxCursor CURSOR_PROBE;
|
||||
|
||||
|
|
Loading…
Reference in New Issue