From 094fbbf96415323907e71ec224a0f5d6e585d9d0 Mon Sep 17 00:00:00 2001 From: "Shawn O. Pearce" Date: Thu, 28 Feb 2008 01:28:45 -0500 Subject: git-gui: Paper bag fix info dialog when no files are staged at commit 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 --- lib/error.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/error.tcl b/lib/error.tcl index 08a24622c7..8c27678e3a 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 \ -- cgit v1.2.3