feat: avoid tooltip creation if there is an existing popup
This commit is contained in:
parent
40748c3037
commit
8b5d5ee45c
4 changed files with 78 additions and 66 deletions
|
|
@ -210,7 +210,10 @@ impl cosmic::Application for Window {
|
|||
},
|
||||
);
|
||||
|
||||
self.core.applet.applet_tooltip(btn, "test").into()
|
||||
self.core
|
||||
.applet
|
||||
.applet_tooltip(btn, "test", self.popup.is_some())
|
||||
.into()
|
||||
}
|
||||
|
||||
fn view_window(&self, _id: Id) -> Element<Self::Message> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue