mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-12-03 18:27:59 -05:00
Implemented another behavior of the "Slice Now" / "Export/Send G-code" buttons (SPE-831)
This commit is contained in:
1 parent
a76bd40c62
commit
a123099f80
7 files changed
+145
-26
No files matched your search
@@ -881,9 +881,10 @@ void MainFrame::on_config_changed(DynamicPrintConfig* config) const
|
||||
// Update the UI based on the current preferences.
|
||||
void MainFrame::update_ui_from_settings()
|
||||
{
|
||||
bool bp_on = wxGetApp().app_config->get("background_processing") == "1";
|
||||
const bool bp_on = wxGetApp().app_config->get("background_processing") == "1";
|
||||
// m_menu_item_reslice_now->Enable(!bp_on);
|
||||
m_plater->sidebar().show_reslice(!bp_on);
|
||||
m_plater->sidebar().show_export(bp_on);
|
||||
m_plater->sidebar().Layout();
|
||||
if (m_plater)
|
||||
m_plater->update_ui_from_settings();
|
||||
|
||||
Reference in new issue
Block a user