mirror of
https://github.com/kepler155c/opus
synced 2025-10-28 06:07:41 +00:00
simplify ui
This commit is contained in:
@@ -395,6 +395,13 @@ function multishell.hideTab(tabId)
|
||||
local tab = tabs[tabId]
|
||||
if tab then
|
||||
tab.hidden = true
|
||||
if currentTab.tabId == tabId then
|
||||
if tabs[currentTab.previousTabId] then
|
||||
multishell.setFocus(currentTab.previousTabId)
|
||||
else
|
||||
multishell.setFocus(overviewTab.tabId)
|
||||
end
|
||||
end
|
||||
redrawMenu()
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user