1
0
mirror of https://github.com/kepler155c/opus synced 2025-10-28 06:07:41 +00:00

simplify ui

This commit is contained in:
kepler155c@gmail.com
2017-10-11 11:37:52 -04:00
parent 05c99b583a
commit 852ad193f0
11 changed files with 260 additions and 291 deletions

View File

@@ -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