File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -225,12 +225,13 @@ def run(self):
225
225
self ._config .set ('interface.form-actions-vert-position' , root_y )
226
226
self ._config .save ()
227
227
228
- # run the selected actions
229
- for action_type_row in self .model :
230
- for action_row in action_type_row .iterchildren ():
231
- if action_row .model .get_value (action_row .iter , self .RUN_ACTION_COL ):
232
- command = action_row .model .get_value (action_row .iter , self .ACTION_COMMAND_COL )
233
- (command )(self .dbstate , self .uistate , self .track )
228
+ if response == Gtk .ResponseType .OK :
229
+ # run the selected actions
230
+ for action_type_row in self .model :
231
+ for action_row in action_type_row .iterchildren ():
232
+ if action_row .model .get_value (action_row .iter , self .RUN_ACTION_COL ):
233
+ command = action_row .model .get_value (action_row .iter , self .ACTION_COMMAND_COL )
234
+ (command )(self .dbstate , self .uistate , self .track )
234
235
235
236
self .top .destroy ()
236
237
You can’t perform that action at this time.
0 commit comments