Raise .opts when font chooser is dismissed.

This commit is contained in:
Dianne Skoll
2025-11-06 21:39:42 -05:00
parent 326604fe18
commit 3f1aaeefd2

View File

@@ -5158,6 +5158,15 @@ proc balloon_calculate_geometry { w } {
return "+$tx+$ty"
}
bind . <<TkFontchooserVisibility>> [list fontchooservisibility]
proc fontchooservisibility {} {
if {[tk fontchooser configure -visible]} {
return
}
catch { raise .opt }
}
proc ChooseCalboxFont {} {
tk fontchooser show
tk fontchooser configure -font [font actual CalboxFont]