mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-02 09:20:38 +08:00
GcodeViewer: Fixed a crash on change of application color mode
or (OSX specific) on a moving between displays [SPE-2211]
This commit is contained in:
parent
b8620d1164
commit
9a97be2433
@ -1187,8 +1187,10 @@ void MainFrame::on_sys_color_changed()
|
||||
for (auto tab : wxGetApp().tabs_list)
|
||||
tab->sys_color_changed();
|
||||
|
||||
m_connect_webview->sys_color_changed();
|
||||
m_printer_webview->sys_color_changed();
|
||||
if (m_connect_webview)
|
||||
m_connect_webview->sys_color_changed();
|
||||
if (m_printer_webview)
|
||||
m_printer_webview->sys_color_changed();
|
||||
|
||||
MenuFactory::sys_color_changed(m_menubar);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user