mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX: dialog parent in Tab for drop variant modifies
Change-Id: I9b3750923a7a51f72b934bd4514f3d5d64e1aaa8 Jira: STUDIO-10429 (cherry picked from commit 7fca7c988410c701a691e4be9a61309a2ca29210)
This commit is contained in:
@@ -5668,7 +5668,7 @@ bool Tab::may_discard_current_dirty_preset(PresetCollection *presets /*= nullptr
|
||||
}
|
||||
if (has_variants) {
|
||||
auto msg = _L("Switching to a printer with different extruder types or numbers will discard or reset changes to extruder or multi-nozzle-related parameters.");
|
||||
MessageDialog(this, msg, _L("Use Modified Value"), wxOK | wxICON_WARNING).ShowModal();
|
||||
MessageDialog(wxGetApp().plater(), msg, _L("Use Modified Value"), wxOK | wxICON_WARNING).ShowModal();
|
||||
selected_options.erase(std::remove(selected_options.begin(), selected_options.end(), ""), selected_options.end());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user