mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 23:46:24 -06:00
Fix a crash on Linux when first shown of Plater
Change-Id: Ia8cab01ed022b6d48dd41820adbd4901236df561
This commit is contained in:
parent
636319fb4c
commit
ef73232311
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue