Changes in src/sas/sasgui/perspectives/fitting/basepage.py [cf2e6b4:c8e1996] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/fitting/basepage.py
rcf2e6b4 rc8e1996 52 52 FONT_VARIANT = 1 53 53 ON_MAC = True 54 54 55 55 56 class BasicPage(ScrolledPanel, PanelBase): … … 1456 1457 self.state_change = True 1457 1458 self._draw_model() 1458 # Time delay has been introduced to prevent _handle error1459 # on Windows1460 # This part of code is executed when model is selected and1461 # it's parameters are changed (with respect to previously1462 # selected model). There are two Iq evaluations occuring one1463 # after another and therefore there may be compilation error1464 # if model is calculated for the first time.1465 # This seems to be Windows only issue - haven't tested on Linux1466 # though.The proper solution (other than time delay) requires1467 # more fundemental code refatoring1468 # Wojtek P. Nov 7, 20161469 if not ON_MAC:1470 time.sleep(0.1)1471 1459 self.Refresh() 1472 1460 … … 2403 2391 2404 2392 # Redraw the model 2405 # Wojtek P. Nov 7, 2016: Redrawing seems to be unnecessary here 2406 # self._draw_model() 2393 self._draw_model() 2407 2394 # self._undo.Enable(True) 2408 2395 event = PageInfoEvent(page=self)
Note: See TracChangeset
for help on using the changeset viewer.