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