Changeset 6f28e70 in sasview for guiframe/gui_manager.py


Ignore:
Timestamp:
Apr 25, 2011 5:17:58 PM (13 years ago)
Author:
Gervaise Alina <gervyh@…>
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.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
ed4e122
Parents:
2e3f9e3
Message:

save state fix for multiple panel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guiframe/gui_manager.py

    r2e3f9e3 r6f28e70  
    13571357        doc = None 
    13581358        for panel in self.panels.values(): 
    1359             doc = self.on_save_helper(doc, reader, panel, path) 
    1360          
     1359            temp = panel.save_project(doc) 
     1360            if temp is not None: 
     1361                doc = temp 
     1362           
    13611363        # Write the XML document 
    13621364        if doc != None: 
     
    13661368        else: 
    13671369            msg = "%s cannot read %s\n" % (str(APPLICATION_NAME), str(path)) 
    1368             #raise RuntimeError, msg 
     1370            logging.error(msg) 
    13691371                     
    13701372    def on_save_helper(self, doc, reader, panel, path): 
Note: See TracChangeset for help on using the changeset viewer.