mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-15 11:45:58 +08:00
Fix a crash on Linux when first shown of Plater
Change-Id: Ia8cab01ed022b6d48dd41820adbd4901236df561
This commit is contained in:
parent
636319fb4c
commit
ef73232311
@ -6771,7 +6771,8 @@ Plater::Plater(wxWindow *parent, MainFrame *main_frame)
|
|||||||
|
|
||||||
bool Plater::Show(bool show)
|
bool Plater::Show(bool show)
|
||||||
{
|
{
|
||||||
wxGetApp().mainframe->show_option(show);
|
if (wxGetApp().mainframe)
|
||||||
|
wxGetApp().mainframe->show_option(show);
|
||||||
return wxPanel::Show(show);
|
return wxPanel::Show(show);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user