Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/fitting/basepage.py

    rcf2e6b4 rc8e1996  
    5252    FONT_VARIANT = 1 
    5353    ON_MAC = True 
     54 
    5455 
    5556class BasicPage(ScrolledPanel, PanelBase): 
     
    14561457                self.state_change = True 
    14571458                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) 
    14711459                self.Refresh() 
    14721460 
     
    24032391 
    24042392        # Redraw the model 
    2405         #  Wojtek P. Nov 7, 2016: Redrawing seems to be unnecessary here 
    2406         # self._draw_model() 
     2393        self._draw_model() 
    24072394        # self._undo.Enable(True) 
    24082395        event = PageInfoEvent(page=self) 
Note: See TracChangeset for help on using the changeset viewer.