Add ModifiersChanged message on Tab and keep value
The message is forwarded from app/dialog Message, and used to keep the value of the status of modifiers in Tab.
This commit is contained in:
parent
d8a198e836
commit
e220268954
3 changed files with 14 additions and 0 deletions
|
|
@ -2629,6 +2629,11 @@ impl Application for App {
|
|||
},
|
||||
Message::ModifiersChanged(modifiers) => {
|
||||
self.modifiers = modifiers;
|
||||
let entity = self.tab_model.active();
|
||||
return self.update(Message::TabMessage(
|
||||
Some(entity),
|
||||
tab::Message::ModifiersChanged(modifiers),
|
||||
));
|
||||
}
|
||||
Message::MounterItems(mounter_key, mounter_items) => {
|
||||
// Check for unmounted folders
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue