Ignore:
Timestamp:
Jul 12, 2018 8:38:48 AM (6 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
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:
18f11a6
Parents:
d0528c4
Message:

CR: Deleting a single dataitem child will close the corresponding plot (SASVIEW-958)

File:
1 edited

Legend:

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

    rd9150d8 r6ff103a  
    496496        # Now query the model item for available plots 
    497497        plots = GuiUtils.plotsFromFilename(filename, model) 
    498         item = GuiUtils.itemFromFilename(filename, model) 
    499498 
    500499        new_plots = [] 
    501         for plot in plots: 
     500        for item, plot in plots.items(): 
    502501            plot_id = plot.id 
    503502            if plot_id in list(self.active_plots.keys()): 
Note: See TracChangeset for help on using the changeset viewer.