Author: mir3x
Date: Sun Nov  6 21:56:36 2016
New Revision: 34406

URL: http://svn.gna.org/viewcvs/freeciv?rev=34406&view=rev
Log:
Qt client - fixed crash when adding city to trade planning

See bug #25260

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

Modified: branches/S2_6/client/gui-qt/mapctrl.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/gui-qt/mapctrl.cpp?rev=34406&r1=34405&r2=34406&view=diff
==============================================================================
--- branches/S2_6/client/gui-qt/mapctrl.cpp     (original)
+++ branches/S2_6/client/gui-qt/mapctrl.cpp     Sun Nov  6 21:56:36 2016
@@ -206,7 +206,6 @@
   if (bt == Qt::LeftButton
       && gui()->trade_gen.hover_city == true) {
     ptile = canvas_pos_to_tile(pos.x(), pos.y());
-    gui()->menu_bar->set_tile_for_order(ptile);
     gui()->trade_gen.hover_city = false;
     gui()->trade_gen.add_tile(ptile);
     gui()->mapview_wdg->repaint();


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

Reply via email to