Skip to content

Commit

Permalink
Fix compilation problem
Browse files Browse the repository at this point in the history
  • Loading branch information
qarmin committed Nov 19, 2023
1 parent 796233c commit dcd30dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions krokiet/ui/main_lists.slint
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ export component MainList {
}
focus_item := FocusScope {
key-released(event) => {
if (!self.visible) {
return;
if (!self.visible || !self.has-focus) {
return accept;
}
if (root.active-tab == CurrentTab.EmptyFiles) {
empty_files.released_key(event);
Expand Down

0 comments on commit dcd30dd

Please sign in to comment.