From 9fdaa1bdbeb8bfab313f2bb77b3a7b0c99b8d1c9 Mon Sep 17 00:00:00 2001 From: YuSanka Date: Mon, 19 Oct 2020 10:08:21 +0200 Subject: [PATCH] Fixed typo in https://github.com/prusa3d/PrusaSlicer/commit/8a1eba5a098d827b40c9c674b2c4b671c1c06006 --- src/slic3r/GUI/UnsavedChangesDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/UnsavedChangesDialog.cpp b/src/slic3r/GUI/UnsavedChangesDialog.cpp index 23c941c51..bf1a1cfa7 100644 --- a/src/slic3r/GUI/UnsavedChangesDialog.cpp +++ b/src/slic3r/GUI/UnsavedChangesDialog.cpp @@ -1009,7 +1009,7 @@ void UnsavedChangesDialog::update(Preset::Type type, PresetCollection* dependent action_msg = format_wxstr(_L("Preset \"%1%\" has the following unsaved changes:"), presets->get_edited_preset().name); } else { - action_msg = format_wxstr(Preset::TYPE_PRINTER ? + action_msg = format_wxstr(type == Preset::TYPE_PRINTER ? _L("Preset \"%1%\" is not compatible with the new printer profile and it has the following unsaved changes:") : _L("Preset \"%1%\" is not compatible with the new print profile and it has the following unsaved changes:"), presets->get_edited_preset().name);