Ignore:
Timestamp:
Dec 19, 2016 7:51:49 PM (7 years ago)
Author:
GitHub <noreply@…>
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:
b61bd57, 24fd27a, 33844bf
Parents:
09fdc89 (diff), aa4b4f05 (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:
Paul Kienzle <pkienzle@…> (12/19/16 19:51:49)
git-committer:
GitHub <noreply@…> (12/19/16 19:51:49)
Message:

Merge pull request #16 from SasView?/ticket778

Ticket778

File:
1 edited

Legend:

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

    rf845454 r06a4306  
    5252    FONT_VARIANT = 1 
    5353    ON_MAC = True 
    54  
    5554 
    5655class BasicPage(ScrolledPanel, PanelBase): 
     
    14581457                self.state_change = True 
    14591458                self._draw_model() 
     1459                # Time delay has been introduced to prevent _handle error 
     1460                # on Windows 
     1461                # This part of code is executed when model is selected and 
     1462                # it's parameters are changed (with respect to previously 
     1463                # selected model). There are two Iq evaluations occuring one 
     1464                # after another and therefore there may be compilation error 
     1465                # if model is calculated for the first time. 
     1466                # This seems to be Windows only issue - haven't tested on Linux 
     1467                # though.The proper solution (other than time delay) requires 
     1468                # more fundemental code refatoring 
     1469                # Wojtek P. Nov 7, 2016 
     1470                if not ON_MAC: 
     1471                    time.sleep(0.1) 
    14601472                self.Refresh() 
    14611473 
     
    23962408 
    23972409        # Redraw the model 
    2398         self._draw_model() 
     2410        #  Wojtek P. Nov 7, 2016: Redrawing seems to be unnecessary here 
     2411        # self._draw_model() 
    23992412        # self._undo.Enable(True) 
    24002413        event = PageInfoEvent(page=self) 
Note: See TracChangeset for help on using the changeset viewer.