Fix menu navigation, informational items, and boolean editing
This commit is contained in:
8 files changed
+355
-24
No files matched your search
+1
-2
@@ -115,8 +115,7 @@ func (c *controllerContext) Show(layout app.Layout) {
|
||||
|
||||
for _, other := range c.layouts {
|
||||
if other == layout {
|
||||
if layout != c.settingsLayout {
|
||||
// Only store a "previous" screen if the active screen isn't the settings.
|
||||
if layout != c.active {
|
||||
c.previous, c.active = c.active, layout
|
||||
}
|
||||
log.WithField("layout", layout).Debug("show layout")
|
||||
|
||||
Reference in new issue
Block a user