Changeset e6de6b8 in sasview for src/sas/sasgui/guiframe
- Timestamp:
- Oct 7, 2016 4:03:49 PM (8 years ago)
- 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, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 95eef00
- Parents:
- ff3f5821
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/guiframe/gui_manager.py
r998ca90 re6de6b8 1152 1152 self.delete_panel(ID) 1153 1153 break 1154 self.cpanel_on_focus.SetFocus() 1154 if self.cpanel_on_focus is not None: 1155 self.cpanel_on_focus.SetFocus() 1155 1156 1156 1157 … … 1917 1918 self._default_save_location = os.path.dirname(path) 1918 1919 dlg.Destroy() 1919 1920 # Reset to a base state 1921 self._on_reset_state() 1922 1923 # Load the project file 1924 self.load_state(path=path, is_project=True) 1920 # Reset to a base state 1921 self._on_reset_state() 1922 # Load the project file 1923 self.load_state(path=path, is_project=True) 1925 1924 1926 1925 def _on_reset_state(self): … … 1930 1929 """ 1931 1930 # Reset all plugins to their base state 1931 self._data_panel.set_panel_on_focus() 1932 # Remove all loaded data 1933 self._data_panel.selection_cbox.SetValue('Select all Data') 1934 self._data_panel._on_selection_type(None) 1932 1935 for plugin in self.plugins: 1933 1936 plugin.clear_panel() 1934 1937 # Reset plot number to 0 1935 1938 self.graph_num = 0 1936 # Remove all loaded data1937 self._data_panel.selection_cbox.SetValue('Select all Data')1938 self._data_panel._on_selection_type(None)1939 1939 1940 1940 def _on_save_application(self, event):
Note: See TracChangeset
for help on using the changeset viewer.