mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-07-02 11:11:04 +02:00
fix: sometimes panicking on startup
This commit is contained in:
parent
75339f07ed
commit
b7b64886e3
2 changed files with 11 additions and 3 deletions
|
@ -352,6 +352,8 @@ impl Module<gtk::Box> for LauncherModule {
|
|||
}
|
||||
LauncherUpdate::AddWindow(app_id, _) => {
|
||||
if let Some(button) = buttons.get(&app_id) {
|
||||
button.set_open(true);
|
||||
|
||||
let mut menu_state = button
|
||||
.menu_state
|
||||
.write()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue