fix(StatusNavBarTabButton): ensure click signal is emitted when not menu is provided

This commit is contained in:
Pascal Precht 2021-06-11 14:11:00 +02:00
parent c9bc9bab11
commit 040da2a416
No known key found for this signature in database
GPG Key ID: 0EE28D8D6FD85D7D
1 changed files with 1 additions and 1 deletions

View File

@ -53,8 +53,8 @@ StatusIconTabButton {
statusNavBarTabButton.highlighted = true
let btnWidth = statusNavBarTabButton.width
popupMenuSlot.item.popup(parent.x + btnWidth + 4, parent.y - 2)
return
}
return
}
statusNavBarTabButton.clicked(mouse)
}