/[thuban]
ViewVC logotype

Revision 2072


Jump to revision: Previous Next
Author: bh
Date: Tue Feb 17 13:14:49 2004 UTC (21 years ago)
Changed paths: 2
Log Message:
Fix for RT#2245

* Thuban/UI/application.py (ThubanApplication.OnInit): Initialize
instance variables before trying to create any windows.  Creating
windows can start an event loop if e.g. message boxes are popped
up for some reason, and event handlers, especially EVT_UPDATE_UI
may want to access things from the application.
(ThubanApplication.maps_changed): The mainwindow may not have been
created yet, so check whether it has been created before calling
its methods

* Thuban/UI/view.py (MapCanvas.OnIdle): Only try to redraw if we
have a map


Changed paths

Path Details
Directorytrunk/thuban/Thuban/UI/application.py modified , text changed
Directorytrunk/thuban/Thuban/UI/view.py modified , text changed

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26