diff options
author | fvogel <fvogelnew1@free.fr> | 2017-09-03 18:20:49 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2017-09-03 18:20:49 (GMT) |
commit | ccac2d455b4b87c2c75602c2502911ffced4e9cc (patch) | |
tree | 57ae675fa81979144b9ef6da4eab8a6ebc777c41 | |
parent | 23b4ff6944bc07d9529cc7e084574c0ec8e8b9d0 (diff) | |
download | tk-ccac2d455b4b87c2c75602c2502911ffced4e9cc.zip tk-ccac2d455b4b87c2c75602c2502911ffced4e9cc.tar.gz tk-ccac2d455b4b87c2c75602c2502911ffced4e9cc.tar.bz2 |
Fix [8277e1a906]: fontchooser is out of sync with dynamically loaded fonts. Patch from Aldo Buratti.
-rw-r--r-- | library/fontchooser.tcl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/fontchooser.tcl b/library/fontchooser.tcl index 8f91ade..14ac650 100644 --- a/library/fontchooser.tcl +++ b/library/fontchooser.tcl @@ -65,6 +65,7 @@ proc ::tk::fontchooser::Show {} { wm transient $S(W) [winfo toplevel $S(-parent)] tk::PlaceWindow $S(W) widget $S(-parent) } + set S(fonts) [lsort -dictionary [font families]] wm deiconify $S(W) } |