mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-08-17 14:51:04 +02:00
fix: unable to use markup in icon labels
This commit is contained in:
parent
e99a04923d
commit
9ed0d1270a
1 changed files with 2 additions and 2 deletions
|
@ -126,12 +126,12 @@ impl IconLabel {
|
||||||
if matches!(res, Ok(true)) {
|
if matches!(res, Ok(true)) {
|
||||||
image.show();
|
image.show();
|
||||||
} else {
|
} else {
|
||||||
label.set_text(&input);
|
label.set_label_escaped(&input);
|
||||||
label.show();
|
label.show();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
label.set_text(input);
|
label.set_label_escaped(input);
|
||||||
label.show();
|
label.show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue