summaryrefslogtreecommitdiffstats
path: root/library/fontchooser.tcl
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2020-11-01 14:17:03 (GMT)
committerfvogel <fvogelnew1@free.fr>2020-11-01 14:17:03 (GMT)
commit4d296190563cb28ae6c394e243da8f70973290b5 (patch)
tree4405d8acea64ad090d4b186aad902b29468930ac /library/fontchooser.tcl
parentab7e7f10137def475bf072146d6270b48a2efe49 (diff)
downloadtk-4d296190563cb28ae6c394e243da8f70973290b5.zip
tk-4d296190563cb28ae6c394e243da8f70973290b5.tar.gz
tk-4d296190563cb28ae6c394e243da8f70973290b5.tar.bz2
Fix [4ebcc04dc4]: tk fontchooser partial configure on X11 overwrites options not specified.
Diffstat (limited to 'library/fontchooser.tcl')
-rw-r--r--library/fontchooser.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/fontchooser.tcl b/library/fontchooser.tcl
index a9bd706..9d49c57 100644
--- a/library/fontchooser.tcl
+++ b/library/fontchooser.tcl
@@ -111,7 +111,7 @@ proc ::tk::fontchooser::Configure {args} {
set cache [dict create -parent $S(-parent) -title $S(-title) \
-font $S(-font) -command $S(-command)]
- set r [tclParseConfigSpec [namespace which -variable S] $specs "" $args]
+ set r [tclParseConfigSpec [namespace which -variable S] $specs DONTSETDEFAULTS $args]
if {![winfo exists $S(-parent)]} {
set code [list TK LOOKUP WINDOW $S(-parent)]
set err "bad window path name \"$S(-parent)\""