remove extra method

This commit is contained in:
yggverse 2024-12-04 10:35:51 +02:00
parent dcee1b9c86
commit ed60b18760

View File

@ -427,7 +427,7 @@ impl Reader {
text_view.set_cursor_from_name(Some("pointer")); text_view.set_cursor_from_name(Some("pointer"));
// Show tooltip | @TODO set_gutter option? // Show tooltip | @TODO set_gutter option?
text_view.set_tooltip_text(Some(uri.to_string().as_str())); text_view.set_tooltip_text(Some(&uri.to_string()));
// Redraw required to apply changes immediately // Redraw required to apply changes immediately
text_view.queue_draw(); text_view.queue_draw();