Changeset 1267 for trunk/gui/apps


Ignore:
Timestamp:
Jan 7, 2009 9:26:11 PM (15 years ago)
Author:
dkearney
Message:

fix for race condition involving loader widgets that do not always finish setting themselves up before user has the opportunity to start the simulation by pressing the simulate button. if the loader is not properly setup, the driver file that is sent to the science code may be incomplete. the solution implemented is to use the update command to run the event loop until after a widget has been inserted in controls.tcl. perhaps the proper fix is to disable the simulate button. disabling the simulate button ended up being tricky due because if the application is in wizard mode, the user can click the page header to simulate or push the "Next" button to flip to the simulate page, where the simulation is started. i could not quickly figure out how to guard against the multiple ways of starting the simulation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/apps/driver

    r1206 r1267  
    237237# OUTPUT AREA
    238238# ----------------------------------------------------------------------
     239
     240# adjust the title of the page here.
     241# to adjust the button text, look in analyzer.tcl
    239242set simtxt [$xmlobj get tool.action.label]
    240243if {"" == $simtxt} {
Note: See TracChangeset for help on using the changeset viewer.