[Bugfix]: Fixed an issue where the bottom statusbar showed the green zsh: command not found: Draw indicatior when the user enters and exits wire-drawing mode without actually drawing a wire.
This commit is contained in:
parent
378c2ea115
commit
24bfb5b363
|
|
@ -2772,6 +2772,9 @@ int rstate; /* (reduced state, without ShiftMask) */
|
|||
}
|
||||
/* stuff that can be done reentrantly ... */
|
||||
tclsetvar("tclstop", "1"); /* stop simulation if any running */
|
||||
if(xctx->ui_state2 & MENUSTARTWIRE) {
|
||||
xctx->ui_state2 &= ~MENUSTARTWIRE;
|
||||
}
|
||||
if(tclgetboolvar("persistent_command") && (xctx->last_command & STARTWIRE)) {
|
||||
xctx->last_command &= ~STARTWIRE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue