From 9e11bef219880b5bdc5d299c31ec6249596a86ba Mon Sep 17 00:00:00 2001 From: Marvin W Date: Wed, 25 Jan 2023 21:47:57 +0100 Subject: [PATCH] Fix critical warning due to tooltip issue --- main/src/ui/util/helper.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/src/ui/util/helper.vala b/main/src/ui/util/helper.vala index ecf0ab25..485e469f 100644 --- a/main/src/ui/util/helper.vala +++ b/main/src/ui/util/helper.vala @@ -445,7 +445,7 @@ public Widget? widget_if_tooltips_active(Widget w) { return use_tooltips() ? w : null; } -public string? string_if_tooltips_active(string s) { +public string? string_if_tooltips_active(string? s) { return use_tooltips() ? s : null; }