Author: mir3x
Date: Sun Oct  9 20:14:46 2016
New Revision: 34078

URL: http://svn.gna.org/viewcvs/freeciv?rev=34078&view=rev
Log:
Qt client - fixed unit menu in city dialog

See bug #25162


Modified:
    trunk/client/gui-qt/citydlg.cpp

Modified: trunk/client/gui-qt/citydlg.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-qt/citydlg.cpp?rev=34078&r1=34077&r2=34078&view=diff
==============================================================================
--- trunk/client/gui-qt/citydlg.cpp     (original)
+++ trunk/client/gui-qt/citydlg.cpp     Sun Oct  9 20:14:46 2016
@@ -553,7 +553,7 @@
 ****************************************************************************/
 void unit_item::contextMenuEvent(QContextMenuEvent *event)
 {
-  QMenu *menu = new QMenu(this);
+  QMenu *menu = new QMenu(gui()->central_wdg);
 
   if (!can_client_issue_orders()) {
     return;


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

Reply via email to