This is an automated email from the git hooks/post-receive script.

odyx pushed a commit to branch upstream/latest
in repository colobot.

commit 475f222276e3deab747433292f9a3c434764b244
Author: krzys-h <krzy...@interia.pl>
Date:   Sat Oct 25 19:11:24 2014 +0200

    Fixed "Device" tab opening if it was opened in main menu earlier
---
 src/ui/maindialog.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/ui/maindialog.cpp b/src/ui/maindialog.cpp
index 26bfbbc..c607d7a 100644
--- a/src/ui/maindialog.cpp
+++ b/src/ui/maindialog.cpp
@@ -1899,6 +1899,9 @@ bool CMainDialog::EventProcess(const Event &event)
         {
             StopDialog();
             StartSuspend();
+            #if PLATFORM_WINDOWS
+            if ( m_phaseSetup == PHASE_SETUPd ) m_phaseSetup = PHASE_SETUPg;
+            #endif
             if ( m_phaseSetup == PHASE_SETUPd )  ChangePhase(PHASE_SETUPds);
             if ( m_phaseSetup == PHASE_SETUPg )  ChangePhase(PHASE_SETUPgs);
             if ( m_phaseSetup == PHASE_SETUPp )  ChangePhase(PHASE_SETUPps);

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/colobot.git

_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to