mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-07-01 18:51:04 +02:00
Merge pull request #196 from JakeStanger/fix/launcher-crash
fix(launcher): crash when focusing newly opened window in popup
This commit is contained in:
commit
c8c84446d6
1 changed files with 0 additions and 4 deletions
|
@ -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();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue