Fix compilation problem
This commit is contained in:
parent
796233c54f
commit
dcd30dd6eb
|
@ -46,8 +46,8 @@ export component MainList {
|
||||||
}
|
}
|
||||||
focus_item := FocusScope {
|
focus_item := FocusScope {
|
||||||
key-released(event) => {
|
key-released(event) => {
|
||||||
if (!self.visible) {
|
if (!self.visible || !self.has-focus) {
|
||||||
return;
|
return accept;
|
||||||
}
|
}
|
||||||
if (root.active-tab == CurrentTab.EmptyFiles) {
|
if (root.active-tab == CurrentTab.EmptyFiles) {
|
||||||
empty_files.released_key(event);
|
empty_files.released_key(event);
|
||||||
|
|
Loading…
Reference in a new issue