Do not track modifiers in tab, fixes #1312
This commit is contained in:
parent
15b748bf3a
commit
0957f937db
3 changed files with 34 additions and 33 deletions
|
|
@ -1444,9 +1444,6 @@ impl Application for App {
|
|||
}
|
||||
Message::ModifiersChanged(modifiers) => {
|
||||
self.modifiers = modifiers;
|
||||
return self.update(Message::TabMessage(tab::Message::ModifiersChanged(
|
||||
modifiers,
|
||||
)));
|
||||
}
|
||||
Message::MounterItems(mounter_key, mounter_items) => {
|
||||
// Check for unmounted folders
|
||||
|
|
@ -1926,7 +1923,11 @@ impl Application for App {
|
|||
}
|
||||
}
|
||||
|
||||
col = col.push(self.tab.view(&self.key_binds).map(Message::TabMessage));
|
||||
col = col.push(
|
||||
self.tab
|
||||
.view(&self.key_binds, &self.modifiers)
|
||||
.map(Message::TabMessage),
|
||||
);
|
||||
|
||||
col.into()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue