Closed GoogleCodeExporter closed 9 years ago
Not enough information, reopen if this is a problem still
Original comment by treyst...@gmail.com
on 27 Jun 2010 at 5:31
The fault is in the connect_to_df function in mainwindow.cpp.
The read_dwarves function can fail & report it is unable to connect to a
running game, and sets the interface state to false
(set_interface_enabled(false)). However, as read_dwarves does not return this
fact to the connect_to_df function, the connect_to_df function assumes the read
was successful and proceeds to call set_interface_enabled(true) after the call.
Recommended solution (only tested locally) is to move line 261 (mainwindow.cpp;
the call set_interface_enabled(true) at the end of the if block in
connect_to_df) to line ~240 (before any other functions report a failure to
connect).
This ensures that if any functions in the block set the interface state to
false, it does not get overwritten.
Original comment by dwatt...@gmail.com
on 27 Jun 2010 at 9:06
This is indeed a problem. Thank you for looking into it. Re-opening, and will
fix ASAP.
Original comment by treyst...@gmail.com
on 29 Jun 2010 at 11:25
This issue was closed by revision 2fc36930f1.
Original comment by treyst...@gmail.com
on 30 Jun 2010 at 2:50
Original issue reported on code.google.com by
dwatt...@gmail.com
on 20 Jun 2010 at 11:20Attachments: