Skip to content

Commit c113bc5

Browse files
committed
Revert last commit, should have gone into a branch
1 parent 5c34aaa commit c113bc5

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

library/demos/widget

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,11 @@ set tk_demoDirectory [file join [pwd] [file dirname [info script]]]
1919
namespace import ::msgcat::mc
2020

2121
# Divert to the accessible widget demo if screen reader is on.
22-
if {[info commands ::tk::accessible::check_screenreader] ne ""} {
23-
if {[::tk::accessible::check_screenreader] eq "1"} {
24-
source -encoding utf-8 [file join $tk_demoDirectory accessiblewidget]
25-
}
22+
if {[::tk::accessible::check_screenreader] eq "1"} {
23+
source -encoding utf-8 [file join $tk_demoDirectory accessiblewidget]
2624
}
2725

26+
2827
wm title . [mc "Widget Demonstration"]
2928
if {[tk windowingsystem] eq "x11"} {
3029
# This won't work everywhere, but there's no other way in core Tk at the

0 commit comments

Comments
 (0)