Changes in / [db05c44:cde0611] in sasview


Ignore:
Location:
src/sas/qtgui
Files:
2 edited

Legend:

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

    rfce6c55 rebfe223  
    496496        # Now query the model item for available plots 
    497497        plots = GuiUtils.plotsFromFilename(filename, model) 
     498        ids = [list(self.active_plots.values())[id].data.id for id in range(len(self.active_plots))] 
    498499 
    499500        new_plots = [] 
    500501        for item, plot in plots.items(): 
    501502            plot_id = plot.id 
    502             if plot_id in list(self.active_plots.keys()): 
     503            if plot_id in ids: 
    503504                self.active_plots[plot_id].replacePlot(plot_id, plot) 
    504505            else: 
  • src/sas/qtgui/Perspectives/Fitting/FittingWidget.py

    r060413c rebfe223  
    135135        self.initializeCategoryCombo() 
    136136 
     137        # Initial control state 
     138        self.initializeControls() 
     139 
     140        QtWidgets.QApplication.processEvents() 
     141 
    137142        # Connect signals to controls 
    138143        self.initializeSignals() 
    139  
    140         # Initial control state 
    141         self.initializeControls() 
    142144 
    143145        if data is not None: 
     
    325327            QTreeView::item { 
    326328                border: 1px; 
    327                 padding: 2px 15px; 
     329                padding: 2px 1px; 
    328330            } 
    329331 
Note: See TracChangeset for help on using the changeset viewer.