summaryrefslogtreecommitdiffstats
path: root/library/demos/entry2.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'library/demos/entry2.tcl')
-rw-r--r--library/demos/entry2.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/demos/entry2.tcl b/library/demos/entry2.tcl
index d0ca35a..799d3f1 100644
--- a/library/demos/entry2.tcl
+++ b/library/demos/entry2.tcl
@@ -10,7 +10,7 @@ if {![info exists widgetDemo]} {
package require Tk
set w .entry2
-catch {destroy $w}
+destroy $w
toplevel $w
wm title $w "Entry Demonstration (with scrollbars)"
wm iconname $w "entry2"