Changeset a84ca2a in sasview


Ignore:
Timestamp:
Oct 2, 2011 12:53:25 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:
5425990
Parents:
029e4d3
Message:

make sure the grid recreate a new page each time there is available result

File:
1 edited

Legend:

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

    r647df0d1 ra84ca2a  
    518518                 
    519519        grid, pos = self.add_empty_page() 
    520         grid.set_data(data_inputs, data_outputs) 
     520        grid.set_data(data_inputs=data_inputs,  
     521                      data_outputs=data_outputs, 
     522                      file_name=file_name, 
     523                      details=details) 
    521524     
    522525    def add_column(self): 
     
    913916        """ 
    914917        """ 
    915         pos = self.panel.notebook.GetSelection() 
    916         grid = self.panel.notebook.GetPage(pos) 
    917         grid.set_data(data_inputs=data_inputs,  
     918        
     919        self.panel.notebook.set_data(data_inputs=data_inputs,  
    918920                            file_name=file_name, 
    919921                            details=details, 
Note: See TracChangeset for help on using the changeset viewer.