From c7c69cc5defb30e8502095eab5a693604acc06f2 Mon Sep 17 00:00:00 2001 From: stefan schippers Date: Sat, 29 Apr 2023 02:20:36 +0200 Subject: [PATCH] invoke myload_place_symbol when leaving .load (instead of leaving .load.buttons_bot.entry) if persistent load dialog is displayed --- src/xschem.tcl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/xschem.tcl b/src/xschem.tcl index 9007fba0..815d757d 100644 --- a/src/xschem.tcl +++ b/src/xschem.tcl @@ -2708,7 +2708,6 @@ proc myload_place_symbol {} { proc myload_display_preview {f} { set type [is_xschem_file $f] if { $type ne {0} && $type ne {GENERATOR} } { - ### update if { [winfo exists .load] } { .load.l.paneright.draw configure -background {} xschem preview_window draw .load.l.paneright.draw "$f" @@ -2930,7 +2929,7 @@ proc load_file_dialog {{msg {}} {ext {}} {global_initdir {INITIALINSTDIR}} if {$myload_loadfile == 2} { - bind .load.buttons_bot.entry { + bind .load { myload_place_symbol } }