fix `s` command (simulate) to work with new menu system

This commit is contained in:
stefan schippers 2025-01-02 13:22:34 +01:00
parent 2bd205427d
commit 45382d1b1d
1 changed files with 1 additions and 1 deletions

View File

@ -2816,7 +2816,7 @@ int rstate; /* (reduced state, without ShiftMask) */
tcleval("tk_messageBox -type okcancel -parent [xschem get topwindow] "
"-message {Run circuit simulation?}");
if(strcmp(tclresult(),"ok")==0) {
tcleval("[xschem get top_path].menubar.simulate invoke");
tcleval("[xschem get top_path].menubar invoke Simulate");
}
break;
}