Ignore:
Timestamp:
Oct 19, 2011 4:43:25 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:
63f4b8e
Parents:
5d192cd
Message:

aui window name error fix

File:
1 edited

Legend:

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

    r5d344c6 rff04dfc  
    997997        count = 0 
    998998        for item in self.panels: 
    999             if self.panels[item].window_name.startswith(p.window_name):  
     999            if self.panels[item].window_name.startswith(p.window_name)\ 
     1000                and not self._mgr.GetPane(p.window_name).IsOk():  
    10001001                count += 1 
    10011002        windowname = p.window_name 
     
    10031004        if count > 0: 
    10041005            windowname += str(count+1) 
    1005             #caption += (' '+str(count)) 
    10061006        p.window_name = windowname 
    10071007 
     
    24062406        self._data_manager.delete_data(data_id=data_id,  
    24072407                                       theory_id=theory_id) 
    2408              
     2408         
    24092409    def _remove_res_plot(self, id): 
    24102410        """ 
Note: See TracChangeset for help on using the changeset viewer.