Fixed a bug where Linux would not run

This commit is contained in:
sunsets
2024-07-08 08:42:21 +08:00
parent 5d9df179dd
commit df194b11c8

View File

@@ -186,7 +186,9 @@ PrinterWebView::PrinterWebView(wxWindow *parent)
titlesizer->AddStretchSpacer();
wxBoxSizer *buttonsizer = new wxBoxSizer(wxHORIZONTAL);
#if defined(__WIN32__) || defined(__WXMAC__)
m_isSimpleMode = wxGetApp().app_config->get_bool("machine_list_minification");
#endif
buttonPanel->SetSizer(buttonSizer);