Ignore:
Timestamp:
Oct 10, 2016 4:01:05 PM (8 years ago)
Author:
ajj
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:
3bec50a, f22b43c, 199b515e
Parents:
68669da
Message:

Updating basepage and fitpage to pass is_modified flag out of helper functions so that _onDraw can correctly determine that there is a change and recalculate/redraw

Fixes #753 compute button no longer seems to work

File:
1 edited

Legend:

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

    rb4818d9 r8662a58  
    996996            self.create_default_data() 
    997997        """ 
    998         flag = self._update_paramv_on_fit() 
    999  
    1000         wx.CallAfter(self._onparamEnter_helper) 
     998        flag,is_modified = self._update_paramv_on_fit() 
     999 
     1000        wx.CallAfter(self._onparamEnter_helper(is_modified)) 
    10011001        if not flag: 
    10021002            msg = "The parameters are invalid" 
Note: See TracChangeset for help on using the changeset viewer.