File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1230,20 +1230,20 @@ def _handleSelectAllAxes(self, evt):
12301230 """Called when the 'select all axes' menu item is selected."""
12311231 if len (self ._axisId ) == 0 :
12321232 return
1233- for i in range ( len ( self ._axisId )) :
1234- self ._menu .Check (self . _axisId [ i ] , True )
1233+ for ax_id in self ._axisId :
1234+ self ._menu .Check (ax_id , True )
12351235 self ._toolbar .set_active (self .getActiveAxes ())
12361236 evt .Skip ()
12371237
12381238 def _handleInvertAxesSelected (self , evt ):
12391239 """Called when the invert all menu item is selected"""
12401240 if len (self ._axisId ) == 0 :
12411241 return
1242- for i in range ( len ( self ._axisId )) :
1243- if self ._menu .IsChecked (self . _axisId [ i ] ):
1244- self ._menu .Check (self . _axisId [ i ] , False )
1242+ for ax_id in self ._axisId :
1243+ if self ._menu .IsChecked (ax_id ):
1244+ self ._menu .Check (ax_id , False )
12451245 else :
1246- self ._menu .Check (self . _axisId [ i ] , True )
1246+ self ._menu .Check (ax_id , True )
12471247 self ._toolbar .set_active (self .getActiveAxes ())
12481248 evt .Skip ()
12491249
You can’t perform that action at this time.
0 commit comments