diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2008-02-28 01:28:45 -0500 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2008-02-28 01:28:45 -0500 |
commit | 094fbbf96415323907e71ec224a0f5d6e585d9d0 (patch) | |
tree | 2fe07a5d68628e0f8bf8cbe35b359a8f0416bed1 | |
parent | 3baee1f3bf8e30f0fc67bbb1a49877bf0660fd29 (diff) | |
download | git-094fbbf96415323907e71ec224a0f5d6e585d9d0.tar.gz git-094fbbf96415323907e71ec224a0f5d6e585d9d0.tar.xz |
git-gui: Paper bag fix info dialog when no files are staged at commitgitgui-0.9.3
If the user tries to commit their changes without actually staging
anything we used to display an informational dialog suggesting they
first stage those changes, then retry the commit feature.
Unfortunately I broke this in aba15f7 ("Ensure error dialogs always
appear over all other windows") and failed to fix it in the paper
bag fix that came one day after it.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
-rw-r--r-- | lib/error.tcl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/error.tcl b/lib/error.tcl index 08a24622c..8c27678e3 100644 --- a/lib/error.tcl +++ b/lib/error.tcl @@ -47,7 +47,7 @@ proc info_popup {msg} { append title " ([reponame])" } tk_messageBox \ - -parent $parent \ + -parent [_error_parent] \ -icon info \ -type ok \ -title $title \ |