Changeset a1fa589 in sasview for invariantview/src/sans/perspectives


Ignore:
Timestamp:
May 29, 2012 6:08:10 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:
38226d26
Parents:
37dea17
Message:

removed a critical warning

File:
1 edited

Legend:

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

    ree54fcf0 ra1fa589  
    12061206        # no message for now 
    12071207        return True 
    1208         count_bf = self.data_cbbox.GetCount() 
    1209         if count_bf > 1: 
    1210             msg += "Loading a new data set will reset all the work" 
    1211             msg += " done in this panel. \n\r" 
    1212             mssg += "Please make sure to save it first... \n\r" 
    1213             answer = wx.MessageBox(mssg, msg, 
    1214                                    wx.CANCEL|wx.OK|wx.ICON_EXCLAMATION) 
    1215      
    1216             if answer == wx.OK: 
    1217                 return True 
    1218             else: 
    1219                 return False 
    1220         else: True 
    12211208         
    12221209    def _reset_output(self): 
Note: See TracChangeset for help on using the changeset viewer.