Ignore:
Timestamp:
Jul 27, 2010 4:03:57 PM (14 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:
6450d8c
Parents:
83ee3851
Message:

remove unused path

File:
1 edited

Legend:

Unmodified
Added
Removed
  • invariantview/perspectives/invariant/invariant_panel.py

    raa5617d r330c63b  
    120120        data, path = self.data_cbbox.GetClientData(n) 
    121121        self._manager.compute_helper(data=data) 
    122         title = os.path.basename(path) 
     122        title = "Untitled" 
    123123        if hasattr(data,"title"): 
    124124            title = str(data.title.lstrip().rstrip()) 
     
    167167            data_qmin = min (self._data.x) 
    168168            data_qmax = max (self._data.x) 
     169            print "set_current_data",self.data_cbbox.GetCount() 
    169170            if data.name not in self.data_cbbox.GetItems(): 
    170171                self.data_cbbox.Insert(pos=0, clientData=(data, None),  
     
    215216            self.state = IState() 
    216217        else: 
    217             if not self.set_current_data(data): 
     218            if not self.set_current_data(data, path=None): 
    218219                return 
    219220            self.new_state = True 
Note: See TracChangeset for help on using the changeset viewer.