fix: open_file listener passing window not as a ref
FileImplementedEditor::action_open_file() requires &self as an argument.merge-requests/8/head
parent
6c6afa740f
commit
fc27583714
|
@ -100,7 +100,7 @@ impl MenubarImplementedEditor for EchidnaWindow {
|
|||
&self.add_action(&action_open_file);
|
||||
action_open_file.connect_activate(clone!(@weak self as window =>
|
||||
move |action, variant| {
|
||||
Self::action_open_file(window);
|
||||
window.action_open_file();
|
||||
}));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue