fix: restore modified state (set_modify() ) was done before swicthing back xctx to current schematic
This commit is contained in:
parent
7c757f9803
commit
f0e6559324
|
|
@ -821,11 +821,10 @@ void preview_window(const char *what, const char *tk_win_path, const char *filen
|
|||
free_xschem_data();
|
||||
|
||||
show_pin_net_names = save_show_pin;
|
||||
xctx = save_xctx; /* restore schematic */
|
||||
modified = save_mod;
|
||||
set_modify(modified);
|
||||
|
||||
xctx = save_xctx; /* restore schematic */
|
||||
|
||||
window = save_window;
|
||||
resetwin();
|
||||
change_linewidth(-1.);
|
||||
|
|
|
|||
Loading…
Reference in New Issue