summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2004-09-10 22:31:09 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2004-09-10 22:31:09 (GMT)
commitfa7ed0bc43605b5b643b456b6efb614786739789 (patch)
tree964de26dca060798970f47f4a819ba7d3785f3e4 /library
parent9f2fc5e9c42539bd9ba30c8ed939ec980424bd68 (diff)
downloadtk-fa7ed0bc43605b5b643b456b6efb614786739789.zip
tk-fa7ed0bc43605b5b643b456b6efb614786739789.tar.gz
tk-fa7ed0bc43605b5b643b456b6efb614786739789.tar.bz2
Make sure the state is correctly reset on dialog startup. [Bug 845189]
Diffstat (limited to 'library')
-rw-r--r--library/tkfbox.tcl3
1 files changed, 2 insertions, 1 deletions
diff --git a/library/tkfbox.tcl b/library/tkfbox.tcl
index aa833ff..59bdae3 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.47 2004/09/06 23:22:14 hobbs Exp $
+# RCS: @(#) $Id: tkfbox.tcl,v 1.48 2004/09/10 22:31:10 dkf Exp $
#
# Copyright (c) 1994-1998 Sun Microsystems, Inc.
#
@@ -820,6 +820,7 @@ proc ::tk::dialog::file:: {type args} {
set data(cancelBtn) $w.f2.cancel
::tk::dialog::file::SetSelectMode $w $data(-multiple)
}
+ 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,