Skip to content

Commit

Permalink
Switch to wiring tab when creating new system or opening a new system…
Browse files Browse the repository at this point in the history
…. For #1680.
  • Loading branch information
highperformancecoder committed Jan 6, 2024
1 parent feb1a2d commit c2030a9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,7 @@ export class CommandsManager {
minsky.canvas.recentre();
minsky.popFlags();
await minsky.doPushHistory(true);
WindowManager.getMainWindow()?.webContents?.send(events.CHANGE_MAIN_TAB); // not necesarily removed, maybe added
WindowManager.getMainWindow()?.webContents?.send(events.PUB_TAB_REMOVED); // not necesarily removed, maybe added
}

Expand Down

0 comments on commit c2030a9

Please sign in to comment.