Fix missing filename tooltip
When hovering over a thumb which has characters in its filename which are used in markup, such as '&', the tooltip was missing, due to the ampersand being parsed as markup. Now the filename is treated as plain text.
This commit is contained in:
@@ -749,7 +749,7 @@ bool ThumbBrowserBase::Internal::on_query_tooltip (int x, int y, bool keyboard_t
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!ttip.empty()) {
|
if (!ttip.empty()) {
|
||||||
tooltip->set_markup (ttip);
|
tooltip->set_text(ttip);
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user