Changeset 161713c in sasview for src/sas/qtgui/Plotter2D.py


Ignore:
Timestamp:
Feb 14, 2017 9:14:11 AM (8 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
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
Children:
4c7dd9f
Parents:
7b8485f
Message:

Validate Table View entries in 2D slicer parameter editor - prototype for future use in fitting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Plotter2D.py

    r7b8485f r161713c  
    136136        self.actionDataInfo = self.contextMenu.addAction("&DataInfo") 
    137137        self.actionDataInfo.triggered.connect( 
    138             functools.partial(self.onDataInfo, self.data)) 
     138             functools.partial(self.onDataInfo, self.data)) 
    139139 
    140140        self.actionSavePointsAsFile = self.contextMenu.addAction("&Save Points as a File") 
    141141        self.actionSavePointsAsFile.triggered.connect( 
    142             functools.partial(self.onSavePoints, self.data)) 
     142             functools.partial(self.onSavePoints, self.data)) 
    143143        self.contextMenu.addSeparator() 
    144144 
     
    225225        self.param_model = self.slicer.model() 
    226226        # Pass the model to the Slicer Parameters widget 
    227         self.slicer_widget = SlicerParameters(model=self.param_model) 
     227        self.slicer_widget = SlicerParameters(model=self.param_model, 
     228                                              validate_method=self.slicer.validate) 
    228229        self.slicer_widget.close_signal.connect(slicer_closed) 
    229230        # Add the plot to the workspace 
Note: See TracChangeset for help on using the changeset viewer.