Merge branch 'maint'

* maint:
  git-gui: fix deleting from the context menu with empty selection
This commit is contained in:
Shawn O. Pearce 2009-03-30 07:09:28 -07:00
commit 122ee54420

View File

@ -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"] \