Author: mir3x Date: Sun Aug 7 17:58:20 2016 New Revision: 33494 URL: http://svn.gna.org/viewcvs/freeciv?rev=33494&view=rev Log: Qt client - detach player before loading savegame/scenario Reported by Jacob Nevins <jtn>
See bug #24859 Modified: branches/S2_6/client/gui-qt/pages.cpp Modified: branches/S2_6/client/gui-qt/pages.cpp URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/gui-qt/pages.cpp?rev=33494&r1=33493&r2=33494&view=diff ============================================================================== --- branches/S2_6/client/gui-qt/pages.cpp (original) +++ branches/S2_6/client/gui-qt/pages.cpp Sun Aug 7 17:58:20 2016 @@ -1016,6 +1016,7 @@ { if (!is_server_running()){ client_start_server(); + send_chat("/detach"); } send_chat_printf("/load %s", current_file.toLocal8Bit().data()); switch_page(PAGE_START); @@ -1028,6 +1029,7 @@ { if (!is_server_running()){ client_start_server(); + send_chat("/detach"); } send_chat_printf("/load %s", current_file.toLocal8Bit().data()); switch_page(PAGE_START); _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits