summaryrefslogtreecommitdiffstats
path: root/src/tabs/stashing.rs
diff options
context:
space:
mode:
authorStephan Dilly <dilly.stephan@gmail.com>2021-06-07 22:57:27 +0200
committerStephan Dilly <dilly.stephan@gmail.com>2021-06-07 22:57:27 +0200
commit7058ab14d3ad1b8f3fffe2bc2a52729127eb1bef (patch)
tree79668a3ce7b6f7f526687c11b0d0ce7c40835623 /src/tabs/stashing.rs
parentab5b29e0eeec955f31b3fb5334d3c4cf211c16ad (diff)
abstract queue into custom type
Diffstat (limited to 'src/tabs/stashing.rs')
-rw-r--r--src/tabs/stashing.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tabs/stashing.rs b/src/tabs/stashing.rs
index 97b0647b..2479b8bc 100644
--- a/src/tabs/stashing.rs
+++ b/src/tabs/stashing.rs
@@ -221,9 +221,9 @@ impl Component for Stashing {
return if k == self.key_config.stashing_save
&& !self.index.is_empty()
{
- self.queue.borrow_mut().push_back(
- InternalEvent::PopupStashing(self.options),
- );
+ self.queue.push(InternalEvent::PopupStashing(
+ self.options,
+ ));
Ok(EventState::Consumed)
} else if k == self.key_config.stashing_toggle_index {