From 0d873ad43a62f7e54f59ea6b70f91089b0831981 Mon Sep 17 00:00:00 2001 From: krzys-h Date: Sat, 25 Oct 2014 18:43:02 +0200 Subject: Added warning about restarting game in order to apply changes issue #339 --- src/ui/maindialog.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/ui/maindialog.cpp b/src/ui/maindialog.cpp index ede7453..26bfbbc 100644 --- a/src/ui/maindialog.cpp +++ b/src/ui/maindialog.cpp @@ -1053,6 +1053,14 @@ void CMainDialog::ChangePhase(Phase phase) pc = pw->CreateCheck(pos, ddim, -1, EVENT_INTERFACE_FULL); pc->SetState(STATE_SHADOW); pc->SetState(STATE_CHECK, m_setupFull); + + #if !PLATFORM_LINUX + ddim.x = 0.9f; + ddim.y = 0.1f; + pos.x = 0.05f; + pos.y = 0.20f; + pl = pw->CreateLabel(pos, ddim, 0, EVENT_LABEL1, "The game will be restarted in order to apply changes. All unsaved progress will be lost."); + #endif ddim.x = dim.x*6; ddim.y = dim.y*1; -- cgit v1.2.3-1-g7c22