proc file_chooser_place: dont do anything if semaphore >0
This commit is contained in:
parent
96293738ce
commit
bbfe350e3f
|
|
@ -5158,6 +5158,7 @@ proc file_chooser_filelist {} {
|
||||||
proc file_chooser_place {action} {
|
proc file_chooser_place {action} {
|
||||||
# puts file_chooser_place
|
# puts file_chooser_place
|
||||||
global file_chooser open_in_new_window
|
global file_chooser open_in_new_window
|
||||||
|
if {[xschem get semaphore] > 0} {return}
|
||||||
set sel [.ins.center.left.l curselection]
|
set sel [.ins.center.left.l curselection]
|
||||||
if {$sel eq {}} {
|
if {$sel eq {}} {
|
||||||
set sel [.ins.center.left.l index active]
|
set sel [.ins.center.left.l index active]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue