mirror of
https://github.com/issadarkthing/gomu.git
synced 2025-04-26 13:49:21 +08:00
fix the rename process by set focus to playlist
This commit is contained in:
parent
59cecbaf23
commit
6fee79eb52
6
gomu.go
6
gomu.go
@ -119,8 +119,10 @@ func (g *Gomu) setFocusPanel(panel Panel) {
|
||||
if g.prevPanel == nil {
|
||||
return
|
||||
}
|
||||
|
||||
g.setUnfocusPanel(g.prevPanel)
|
||||
|
||||
if g.prevPanel != panel {
|
||||
g.setUnfocusPanel(g.prevPanel)
|
||||
}
|
||||
}
|
||||
|
||||
// Safely write the IsSuspend state, IsSuspend is used to indicate if we
|
||||
|
Loading…
x
Reference in New Issue
Block a user