Merge pull request #196 from JakeStanger/fix/launcher-crash

fix(launcher): crash when focusing newly opened window in popup
This commit is contained in:
Jake Stanger
2023-06-18 16:33:04 +01:00
committed by GitHub

View File

@@ -468,10 +468,6 @@ impl Module<gtk::Box> for LauncherModule {
let tx = controller_tx.clone();
button.connect_clicked(move |button| {
try_send!(tx, ItemEvent::FocusWindow(win.id));
if let Some(win) = button.window() {
win.hide();
}
});
}