Changeset 0eff615 in sasview for src/sas/qtgui/MainWindow


Ignore:
Timestamp:
Sep 6, 2018 5:18:50 AM (6 years ago)
Author:
Laura Forster <Awork@…>
Branches:
ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
Children:
6da3e3d
Parents:
c1cfa80
Message:

Paste params edited

When GUI loaded Paste is now disabled until user copies params. Paste also checks if model has changed since last copy, and displays message warning user that not all params may
paste, with option to cancel. Also - focus fixed such that if paste is clicked the params automatically update without having to move mouse to reset the focus.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/MainWindow/GuiManager.py

    raa1db44 r0eff615  
    531531        """ 
    532532        self.communicate.copyFitParamsSignal.emit("") 
     533        self._workspace.actionPaste.setEnabled(True) 
    533534        pass 
    534535 
     
    945946            self._workspace.menubar.addAction(self._workspace.menuWindow.menuAction()) 
    946947            self._workspace.menubar.addAction(self._workspace.menuHelp.menuAction()) 
     948 
    947949        elif isinstance(perspective, Perspectives.PERSPECTIVES["Invariant"]): 
    948950            self.checkAnalysisOption(self._workspace.actionInvariant) 
Note: See TracChangeset for help on using the changeset viewer.