Changeset 47d93073 in sasview for src/sas/sasgui/guiframe


Ignore:
Timestamp:
Jun 8, 2017 1:28:28 PM (8 years ago)
Author:
krzywon
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.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
444a657
Parents:
edc7852
Message:

Apply new parameters before savig data.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/guiframe/local_perspectives/plotting/parameters_panel_slicer.py

    redc7852 r47d93073  
    55import wx.lib.newevent 
    66from sas.sascalc.dataloader.readers.cansas_reader import Reader 
    7 from sas.sasgui.guiframe.events import EVT_SLICER_PARS 
    87from sas.sasgui.guiframe.utils import format_number 
    9 from sas.sasgui.guiframe.events import EVT_SLICER 
    10 from sas.sasgui.guiframe.events import SlicerParameterEvent 
     8from sas.sasgui.guiframe.events import EVT_SLICER_PARS, EVT_SLICER 
     9from sas.sasgui.guiframe.events import SlicerParameterEvent, StatusEvent 
    1110from Plotter2D import ModelPanel2D 
    1211apply_params, EVT_APPLY_PARAMS = wx.lib.newevent.NewEvent() 
     
    421420        # necessary before this event is called. If this is the first time 
    422421        # reaching this event, send it to the end of the wx event queue 
    423         if self.iter == 0: 
     422        if self.iter < 2: 
    424423            clone = evt.Clone() 
    425424            wx.PostEvent(self, clone) 
Note: See TracChangeset for help on using the changeset viewer.