Disable menu item key equivalents while there are pending keystrokes
This commit is contained in:
parent
21862faa58
commit
b72d97ce78
5 changed files with 43 additions and 5 deletions
|
@ -123,6 +123,10 @@ impl Matcher {
|
|||
self.pending.clear();
|
||||
}
|
||||
|
||||
pub fn has_pending_keystrokes(&self) -> bool {
|
||||
!self.pending.is_empty()
|
||||
}
|
||||
|
||||
pub fn push_keystroke(
|
||||
&mut self,
|
||||
keystroke: Keystroke,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue