Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2021-07-01 17:48:38 +0300
committerbubnikv <bubnikv@gmail.com>2021-07-01 17:48:38 +0300
commit0a2a86dea4f04ec4ceac62da905faaf6ec87805c (patch)
tree5751d4ee33ddadebbef519f49e546b60febe946a /src/slic3r/GUI/MsgDialog.cpp
parent9c7743c1c7c2d1b6bdaf742cd28535fc7fe25ba8 (diff)
Improvement in the subtitution information dialog.
Diffstat (limited to 'src/slic3r/GUI/MsgDialog.cpp')
-rw-r--r--src/slic3r/GUI/MsgDialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slic3r/GUI/MsgDialog.cpp b/src/slic3r/GUI/MsgDialog.cpp
index 742cc2ec1..d063de068 100644
--- a/src/slic3r/GUI/MsgDialog.cpp
+++ b/src/slic3r/GUI/MsgDialog.cpp
@@ -110,8 +110,8 @@ ErrorDialog::ErrorDialog(wxWindow *parent, const wxString &msg, bool monospaced_
// InfoDialog
-InfoDialog::InfoDialog(wxWindow* parent, const wxString& msg)
- : MsgDialog(parent, wxString::Format(_L("%s information"), SLIC3R_APP_NAME), _L("Note that"))
+InfoDialog::InfoDialog(wxWindow* parent, const wxString &title, const wxString& msg)
+ : MsgDialog(parent, wxString::Format(_L("%s information"), SLIC3R_APP_NAME), title)
, msg(msg)
{
this->SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW));