Skip to content

Commit

Permalink
ok_cancel_dialog for delete tag command
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris--- committed Aug 15, 2013
1 parent 2872453 commit 996b509
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ def panel_done(self, picked):
return
picked_tag = self.results[picked]
picked_tag = picked_tag.strip()
self.run_command(['git', 'tag', '-d', picked_tag])
if sublime.ok_cancel_dialog("Delete \"%s\" Tag?" % picked_tag, "Delete"):
self.run_command(['git', 'tag', '-d', picked_tag])


class GitShowTagsCommand(GitWindowCommand):
Expand Down

0 comments on commit 996b509

Please sign in to comment.