Changeset ecc85443 in sasview for guiframe/panel_base.py
- Timestamp:
- Mar 28, 2011 10:37:34 AM (14 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, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 4b5bd73
- Parents:
- e52865f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/panel_base.py
rdf22224 recc85443 70 70 self._print_flag = flag 71 71 if self._manager is not None and self._manager.parent is not None: 72 self._manager.parent.panel_on_focus = self 72 73 self._manager.parent.enable_print() 73 74 … … 89 90 self._undo_flag = flag 90 91 if self._manager is not None and self._manager.parent is not None: 92 self._manager.parent.panel_on_focus = self 91 93 self._manager.parent.enable_undo() 92 94 … … 108 110 self._redo_flag = flag 109 111 if self._manager is not None and self._manager.parent is not None: 112 self._manager.parent.panel_on_focus = self 110 113 self._manager.parent.enable_redo() 111 114 … … 127 130 self._zoom_in_flag = flag 128 131 if self._manager is not None and self._manager.parent is not None: 132 self._manager.parent.panel_on_focus = self 129 133 self._manager.parent.enable_zoom_in() 130 134 … … 146 150 self._zoom_out_flag = flag 147 151 if self._manager is not None and self._manager.parent is not None: 152 self._manager.parent.panel_on_focus = self 148 153 self._manager.parent.enable_zoom_out() 149 154 … … 165 170 self._zoom_flag = flag 166 171 if self._manager is not None and self._manager.parent is not None: 172 self._manager.parent.panel_on_focus = self 167 173 self._manager.parent.enable_zoom() 168 174 … … 184 190 self._bookmark_flag = flag 185 191 if self._manager is not None and self._manager.parent is not None: 192 self._manager.parent.panel_on_focus = self 186 193 self._manager.parent.enable_bookmark() 187 194 … … 203 210 self._preview_flag = flag 204 211 if self._manager is not None and self._manager.parent is not None: 212 self._manager.parent.panel_on_focus = self 205 213 self._manager.parent.enable_preview() 206 214 … … 222 230 self._save_flag = flag 223 231 if self._manager is not None and self._manager.parent is not None: 232 self._manager.parent.panel_on_focus = self 224 233 self._manager.parent.enable_save() 225 234 … … 241 250 self._drag_flag = flag 242 251 if self._manager is not None and self._manager.parent is not None: 252 self._manager.parent.panel_on_focus = self 243 253 self._manager.parent.enable_drag() 244 254 … … 260 270 self._reset_flag = flag 261 271 if self._manager is not None and self._manager.parent is not None: 272 self._manager.parent.panel_on_focus = self 262 273 self._manager.parent.enable_reset() 263 274
Note: See TracChangeset
for help on using the changeset viewer.