Changes in / [e9f8208:eb38181] in sasview
- Location:
- src/sas/sasgui/perspectives/invariant
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/invariant/invariant_panel.py
rc12f9b4 rcb93b40 250 250 251 251 num = self.state.saved_state['state_num'] 252 if num> 0:252 if int(num) > 0: 253 253 self._set_undo_flag(True) 254 if num< len(state.state_list) - 1:254 if int(num) < len(state.state_list) - 1: 255 255 self._set_redo_flag(True) 256 256 … … 1860 1860 (self.button_calculate, 0, 1861 1861 wx.RIGHT | wx.TOP | wx.BOTTOM, 10), 1862 (self.button_help, 0, 1862 (self.button_help, 0, 1863 1863 wx.RIGHT | wx.TOP | wx.BOTTOM, 10),]) 1864 1864 def _do_layout(self): … … 1882 1882 self.SetSizer(self.main_sizer) 1883 1883 self.SetAutoLayout(True) 1884 1884 1885 1885 def on_help(self, event): 1886 1886 """ 1887 Bring up the Invariant Documentation whenever the HELP button is 1887 Bring up the Invariant Documentation whenever the HELP button is 1888 1888 clicked. 1889 1889 -
src/sas/sasgui/perspectives/invariant/invariant_state.py
rc10d9d6c rcb93b40 426 426 if input_field is not None: 427 427 temp_state[item] = val 428 self.state_list[ ind] = temp_state428 self.state_list[str(ind)] = temp_state 429 429 430 430 # Parse current state (ie, saved_state) … … 790 790 doc = state.toXML(datainfo.name, doc=doc, entry_node=sasentry) 791 791 return doc 792
Note: See TracChangeset
for help on using the changeset viewer.