mirror of
https://github.com/johrpan/musicus.git
synced 2025-10-26 19:57:25 +01:00
editor: Show tooltips in selectors
This commit is contained in:
parent
3adcc0f10e
commit
0fe143a383
8 changed files with 31 additions and 8 deletions
|
|
@ -206,6 +206,8 @@ impl MusicusWorkSelectorPopover {
|
|||
.build(),
|
||||
);
|
||||
|
||||
row.set_tooltip_text(Some(&person.to_string()));
|
||||
|
||||
let person = person.clone();
|
||||
let obj = self.clone();
|
||||
row.connect_activated(move |_: &MusicusActivatableRow| {
|
||||
|
|
@ -256,6 +258,8 @@ impl MusicusWorkSelectorPopover {
|
|||
.build(),
|
||||
);
|
||||
|
||||
row.set_tooltip_text(Some(&work.name.get()));
|
||||
|
||||
let work = work.clone();
|
||||
let obj = self.clone();
|
||||
row.connect_activated(move |_: &MusicusActivatableRow| {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue