Changeset 2170921d in sasview for sansguiframe/src/sans/guiframe


Ignore:
Timestamp:
Oct 14, 2011 12:47:15 PM (13 years ago)
Author:
Jae Cho <jhjcho@…>
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:
87e1d1a
Parents:
df566e8
Message:

disable saving for simul and batch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansguiframe/src/sans/guiframe/gui_manager.py

    r62ffd8d r2170921d  
    551551        if self.panel_on_focus is not None: 
    552552            #Disable save application if the current panel is in batch mode 
    553             flag = not self.panel_on_focus.batch_on 
     553            flag = self.panel_on_focus.get_save_flag() 
    554554            self._save_appl_menu.Enable(flag) 
    555             self.panel_on_focus._set_save_flag(flag) 
     555 
    556556            if self.panel_on_focus not in self.plot_panels.values(): 
    557557                for ID in self.panels.keys(): 
Note: See TracChangeset for help on using the changeset viewer.