mirror of
https://github.com/atom/atom.git
synced 2026-02-15 09:05:58 -05:00
Correctly focus fuzzy-finder/event-palette when triggered while other is showing
When canceling the fuzzy finder or event palette, we should only focus the root view / previous element if the mini editor is still focused. Otherwise, it was a change of focus elsewhere that caused us to be cancelled, and we don't want to interfere with that focus change.
This commit is contained in:
@@ -89,7 +89,7 @@ class SelectList extends View
|
||||
|
||||
cancel: ->
|
||||
@cancelling = true
|
||||
@detach()
|
||||
@cancelled()
|
||||
@detach()
|
||||
@cancelling = false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user