ShowWidget: Add tooltip to the website button.
This commit is contained in:
parent
e42353e03f
commit
15b3eb115c
@ -82,6 +82,7 @@ impl ShowWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
let link = pd.link().to_owned();
|
let link = pd.link().to_owned();
|
||||||
|
WidgetExt::set_tooltip_text(&self.link, Some(link.as_str()));
|
||||||
self.link.connect_clicked(move |_| {
|
self.link.connect_clicked(move |_| {
|
||||||
info!("Opening link: {}", &link);
|
info!("Opening link: {}", &link);
|
||||||
let _ = open::that(&link);
|
let _ = open::that(&link);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user