Changeset 766629a in sasview for src/sas/sasgui/perspectives/fitting/basepage.py
- Timestamp:
- Nov 8, 2016 2:59:26 AM (8 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- df43ee2
- Parents:
- cc0f4a8 (diff), b0e0183 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - git-author:
- wpotrzebowski <Wojciech.Potrzebowski@…> (11/08/16 02:53:27)
- git-committer:
- wpotrzebowski <Wojciech.Potrzebowski@…> (11/08/16 02:59:26)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/fitting/basepage.py
rc8e1996 rcc0f4a8 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 evaluations of Iq occuring one 1463 # after another and therefore there may be compilation error 1464 # if model is calculted for the first time. 1465 # The proper solution (other than time delay) requires more 1466 # fundemental code refatoring 1467 # Wojtek P. Nov 7, 2016 1468 if not ON_MAC: 1469 time.sleep(0.1) 1459 1470 self.Refresh() 1460 1471 … … 2391 2402 2392 2403 # Redraw the model 2393 self._draw_model() 2404 # Wojtek P. Nov 7, 2016: Redrawing seems to be unnecessary here 2405 # self._draw_model() 2394 2406 # self._undo.Enable(True) 2395 2407 event = PageInfoEvent(page=self)
Note: See TracChangeset
for help on using the changeset viewer.