Skip to content

Commit

Permalink
Merge branch 'maint'
Browse files Browse the repository at this point in the history
* maint:
  git-gui: fix deleting from the context menu with empty selection
  • Loading branch information
Shawn O. Pearce committed Mar 30, 2009
2 parents 966d077 + bf516ec commit 122ee54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-gui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2944,7 +2944,7 @@ $ctxm add command \
-command {tk_textPaste $ui_comm}
$ctxm add command \
-label [mc Delete] \
-command {$ui_comm delete sel.first sel.last}
-command {catch {$ui_comm delete sel.first sel.last}}
$ctxm add separator
$ctxm add command \
-label [mc "Select All"] \
Expand Down

0 comments on commit 122ee54

Please sign in to comment.