Skip to content

Commit

Permalink
Fix active tab set if tabs are cleared on exit bug
Browse files Browse the repository at this point in the history
  • Loading branch information
staniel359 committed May 1, 2024
1 parent 9145a21 commit 49b7e0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions electron/actions/tab/setActive.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ export default function (
tabId
)

if (!tab) { return }

tab.setVisible(
true
)
Expand Down

0 comments on commit 49b7e0f

Please sign in to comment.