summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3baee1f)
raw | patch | inline | side by side (parent: 3baee1f)
author | Shawn O. Pearce <spearce@spearce.org> | |
Thu, 28 Feb 2008 06:28:45 +0000 (01:28 -0500) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Thu, 28 Feb 2008 06:28:45 +0000 (01:28 -0500) |
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>
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>
lib/error.tcl | patch | blob | history |
diff --git a/lib/error.tcl b/lib/error.tcl
index 08a24622c7ff199399805ef34f0396f6cb81613c..8c27678e3a45c011cfc6a21f5d53b0d87c66b4a6 100644 (file)
--- a/lib/error.tcl
+++ b/lib/error.tcl
append title " ([reponame])"
}
tk_messageBox \
- -parent $parent \
+ -parent [_error_parent] \
-icon info \
-type ok \
-title $title \