1
0
Fork 0

Do not close the only tab

This commit is contained in:
Alex Kotov 2023-04-30 08:15:33 +04:00
parent d2563df04d
commit c65073d9cb
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
1 changed files with 1 additions and 2 deletions

View File

@ -457,8 +457,7 @@ func CloseTab() {
}
if NumTabs() <= 1 {
// There's only one tab open, close the app instead
Stop()
// There's only one tab open, don't close it
return
}