destroy_all_tabs() do a final redraw to avoid inconsistent screen after some tab removals

This commit is contained in:
stefan schippers 2025-01-15 03:11:12 +01:00
parent 10991e662c
commit 7d6c3f4764
2 changed files with 6 additions and 3 deletions

View File

@ -1990,6 +1990,7 @@ static void destroy_all_tabs(int *window_count, int force)
xctx = savectx; /* restore previous schematic or main if old is destroyed */
tclvareval("restore_ctx ", xctx->current_win_path, " ; housekeeping_ctx", NULL);
set_modify(-1); /* sets window title */
draw();
}
}

View File

@ -1,4 +1,4 @@
v {xschem version=3.4.4 file_version=1.2
v {xschem version=3.4.6 file_version=1.2
*
* This file is part of XSCHEM,
* a schematic capture and Spice/Vhdl/Verilog netlisting tool for circuit
@ -37,5 +37,7 @@ B 5 -2.5 -32.5 2.5 -27.5 {name=plus dir=inout pinnumber=1 propag=1 goto=1}
B 5 -2.5 27.5 2.5 32.5 {name=minus dir=inout pinnumber=2 goto=0}
P 4 4 -0 5 -10 -5 10 -5 0 5 {fill=true}
T {@name} 15 -18.75 0 0 0.2 0.2 {}
T {@#0:net_name} 10 -28.75 0 0 0.15 0.15 {layer=15}
T {@#1:net_name} 10 20 0 0 0.15 0.15 {layer=15}
T {@#0:net_name} 10 -28.75 0 0 0.15 0.15 {layer=15
hide=instance}
T {@#1:net_name} 10 20 0 0 0.15 0.15 {layer=15
hide=instance}