summaryrefslogtreecommitdiffstats
path: root/library/tkfbox.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'library/tkfbox.tcl')
-rw-r--r--library/tkfbox.tcl9
1 files changed, 8 insertions, 1 deletions
diff --git a/library/tkfbox.tcl b/library/tkfbox.tcl
index 6d7ce2f..0255cad 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.35 2002/06/12 23:08:12 mdejong Exp $
+# RCS: @(#) $Id: tkfbox.tcl,v 1.36 2002/06/13 06:17:21 mdejong Exp $
#
# Copyright (c) 1994-1998 Sun Microsystems, Inc.
#
@@ -878,6 +878,13 @@ proc ::tk::dialog::file:: {type args} {
::tk::RestoreFocusGrab $w $data(ent) withdraw
+ # Remove the transient property to insulate the
+ # dialog from changes in the master's state.
+
+ if {[winfo exists $w]} {
+ wm transient $w {}
+ }
+
# Cleanup traces on selectPath variable
#