Changeset 61523e2 in sasview


Ignore:
Timestamp:
Oct 13, 2011 1:34:42 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:
9400de6
Parents:
a86260e2
Message:

make sure fitpage disable save button of toolbar

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fittingview/src/sans/perspectives/fitting/fitpanel.py

    r72bd8e7 r61523e2  
    353353            panel.set_index_model(self.fit_page_index) 
    354354        panel.batch_on = self.batch_on 
     355        panel._set_save_flag(not panel.batch_on) 
    355356        panel.populate_box(dict=self.model_list_box) 
    356357        panel.set_manager(self._manager) 
     
    460461        self.SetPageText(pos, caption) 
    461462        page.batch_on = self.batch_on 
     463        page._set_save_flag(not page.batch_on) 
    462464        page.window_caption = caption 
    463465        page.window_name = caption 
     
    501503                or (data.__class__.__name__ == "Data1D" and not enable2D): 
    502504                    page.batch_on = self.batch_on 
     505                    page._set_save_flag(not page.batch_on) 
    503506                    page.fill_data_combobox(data_list) 
    504507                    caption = "FitPage" + str(self.fit_page_index) 
Note: See TracChangeset for help on using the changeset viewer.