summaryrefslogtreecommitdiffstats
path: root/library/tkfbox.tcl
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2004-09-10 22:28:29 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2004-09-10 22:28:29 (GMT)
commit0902bd2c0319f711d210e0c1d6989802b37913a0 (patch)
treee2daa69751979587e1c96c34815a5d5a2f3493fb /library/tkfbox.tcl
parent9491535e9445a9122ebddcfca18612dce2a12c51 (diff)
downloadtk-0902bd2c0319f711d210e0c1d6989802b37913a0.zip
tk-0902bd2c0319f711d210e0c1d6989802b37913a0.tar.gz
tk-0902bd2c0319f711d210e0c1d6989802b37913a0.tar.bz2
More state resetting on dialog start. [Bug 845189]
Diffstat (limited to 'library/tkfbox.tcl')
-rw-r--r--library/tkfbox.tcl4
1 files changed, 3 insertions, 1 deletions
diff --git a/library/tkfbox.tcl b/library/tkfbox.tcl
index bedb32f..26606fb 100644
--- a/library/tkfbox.tcl
+++ b/library/tkfbox.tcl
@@ -11,7 +11,7 @@
# files by clicking on the file icons or by entering a filename
# in the "Filename:" entry.
#
-# RCS: @(#) $Id: tkfbox.tcl,v 1.38.2.6 2004/09/06 23:21:48 hobbs Exp $
+# RCS: @(#) $Id: tkfbox.tcl,v 1.38.2.7 2004/09/10 22:28:30 dkf Exp $
#
# Copyright (c) 1994-1998 Sun Microsystems, Inc.
#
@@ -820,6 +820,8 @@ proc ::tk::dialog::file:: {type args} {
set data(cancelBtn) $w.f2.cancel
::tk::dialog::file::SetSelectMode $w $data(-multiple)
}
+ # Make sure subseqent uses of this dialog are independent [Bug 845189]
+ catch {unset data(extUsed)}
# Dialog boxes should be transient with respect to their parent,
# so that they will always stay on top of their parent window. However,