Changeset 7b3bbbe in sasview


Ignore:
Timestamp:
Jun 1, 2011 8:48:59 AM (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:
87615a48
Parents:
f29550d
Message:

change the page index on create new page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/perspectives/fitting/fitpanel.py

    re4c9030 r7b3bbbe  
    314314        panel.populate_box(dict=self.model_list_box) 
    315315        panel.set_manager(self._manager) 
    316         caption = str(panel.window_name) + " " + str(self._manager.index_model) 
     316        index = self.GetPageCount() 
     317        #caption = str(panel.window_name) + " " + str(self._manager.index_model) 
     318        caption = str(panel.window_name) + " " + str(index) 
    317319        self.AddPage(panel, caption, select=True) 
    318320        self.opened_pages[panel.uid] = panel 
Note: See TracChangeset for help on using the changeset viewer.