Author: mir3x
Date: Fri Nov 20 17:12:31 2015
New Revision: 30709

URL: http://svn.gna.org/viewcvs/freeciv?rev=30709&view=rev
Log:
After starting game, map view could be maximized 2 times. 

See bug #24061


Modified:
    branches/S2_6/client/gui-qt/fc_client.cpp

Modified: branches/S2_6/client/gui-qt/fc_client.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/gui-qt/fc_client.cpp?rev=30709&r1=30708&r2=30709&view=diff
==============================================================================
--- branches/S2_6/client/gui-qt/fc_client.cpp   (original)
+++ branches/S2_6/client/gui-qt/fc_client.cpp   Fri Nov 20 17:12:31 2015
@@ -295,7 +295,9 @@
       gui()->showFullScreen();
       gui()->mapview_wdg->showFullScreen();
     } else {
-      showMaximized();
+      if (!isMaximized()) {
+        showMaximized();
+      }
     }
     menuBar()->setVisible(true);
     mapview_wdg->setFocus();


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to