mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 19:12:38 -07:00
Fixed build when tech ENABLE_GCODE_VIEWER is disabled
This commit is contained in:
@@ -1578,8 +1578,10 @@ void GUI_App::add_config_menu(wxMenuBar *menu)
|
||||
PreferencesDialog dlg(mainframe);
|
||||
dlg.ShowModal();
|
||||
app_layout_changed = dlg.settings_layout_changed();
|
||||
#if ENABLE_GCODE_VIEWER
|
||||
if (dlg.seq_top_layer_only_changed())
|
||||
this->plater_->refresh_print();
|
||||
#endif // ENABLE_GCODE_VIEWER
|
||||
}
|
||||
if (app_layout_changed) {
|
||||
// hide full main_sizer for mainFrame
|
||||
|
||||
Reference in New Issue
Block a user