mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 07:34:03 -06:00
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
1 changed files with 1 additions and 1 deletions
|
@ -3503,7 +3503,7 @@ std::vector<size_t> Plater::priv::load_files(const std::vector<fs::path>& input_
|
||||||
warning_message += "-" + *it + "\n";
|
warning_message += "-" + *it + "\n";
|
||||||
warning_message += "\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"));
|
//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();
|
dlg.show_dsa_button();
|
||||||
auto res = dlg.ShowModal();
|
auto res = dlg.ShowModal();
|
||||||
if (dlg.get_checkbox_state())
|
if (dlg.get_checkbox_state())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue