mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-04 08:55:35 +00:00
apps/gophers: go back on CommandBack
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -185,6 +185,14 @@ func (a *App) run() error {
|
||||
}
|
||||
}
|
||||
case app.ChangeStage:
|
||||
case *app.Command:
|
||||
switch e.Type {
|
||||
case app.CommandBack:
|
||||
if a.selectedUser != nil {
|
||||
a.selectedUser = nil
|
||||
e.Cancel = true
|
||||
}
|
||||
}
|
||||
case app.Draw:
|
||||
a.cfg = e.Config
|
||||
a.faces.Cfg = a.cfg
|
||||
|
||||
Reference in New Issue
Block a user