FIX: fix the preset name not display correctly issue on warning dialog
JIRA: STUDIO-4930 Change-Id: I9a187dd89354969845f48d187fb737381d6f49e6
This commit is contained in:
parent
5998bcc747
commit
d87e84bf4f
|
@ -3503,7 +3503,7 @@ std::vector<size_t> Plater::priv::load_files(const std::vector<fs::path>& input_
|
|||
warning_message += "-" + *it + "\n";
|
||||
warning_message += "\n";
|
||||
//show_info(q, _L("The 3mf has following customized filament or printer presets:") + warning_message + _L("Please confirm that the G-codes within these presets are safe to prevent any damage to the machine!"), _L("Customized Preset"));
|
||||
MessageDialog dlg(q, _L("The 3mf has following customized filament or printer presets:") + warning_message+ _L("Please confirm that the G-codes within these presets are safe to prevent any damage to the machine!"), _L("Customized Preset"));
|
||||
MessageDialog dlg(q, _L("The 3mf has following customized filament or printer presets:") + from_u8(warning_message)+ _L("Please confirm that the G-codes within these presets are safe to prevent any damage to the machine!"), _L("Customized Preset"));
|
||||
dlg.show_dsa_button();
|
||||
auto res = dlg.ShowModal();
|
||||
if (dlg.get_checkbox_state())
|
||||
|
|
Loading…
Reference in New Issue