mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-05 19:56:09 +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)
|
||||
{
|
||||
wxGetApp().mainframe->show_option(show);
|
||||
if (wxGetApp().mainframe)
|
||||
wxGetApp().mainframe->show_option(show);
|
||||
return wxPanel::Show(show);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user