mirror of
https://github.com/StefanSchippers/xschem.git
synced 2026-08-22 06:07:29 +02:00
[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:
@@ -2772,6 +2772,9 @@ int rstate; /* (reduced state, without ShiftMask) */
|
|||||||
}
|
}
|
||||||
/* stuff that can be done reentrantly ... */
|
/* stuff that can be done reentrantly ... */
|
||||||
tclsetvar("tclstop", "1"); /* stop simulation if any running */
|
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)) {
|
if(tclgetboolvar("persistent_command") && (xctx->last_command & STARTWIRE)) {
|
||||||
xctx->last_command &= ~STARTWIRE;
|
xctx->last_command &= ~STARTWIRE;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user