Do not close the only tab
This commit is contained in:
parent
d2563df04d
commit
c65073d9cb
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue