mirror of
https://github.com/StefanSchippers/xschem.git
synced 2026-09-07 04:29:51 +02:00
reset simulation button on save AS
This commit is contained in:
@@ -2654,6 +2654,9 @@ int save_schematic(const char *schname) /* 20171020 added return value */
|
||||
if(!strstr(xctx->sch[xctx->currsch], ".xschem_embedded_")) {
|
||||
set_modify(0);
|
||||
}
|
||||
tclvareval(xctx->top_path, ".menubar.simulate configure -bg $simulate_bg", NULL);
|
||||
tclvareval("set tctx::", xctx->current_win_path, "_simulate $simulate_bg", NULL);
|
||||
tclvareval("catch {unset tctx::", xctx->current_win_path, "_simulate_id}", NULL);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user