From e1d372619ecec9877d4335f9fcc1e60e05b78870 Mon Sep 17 00:00:00 2001 From: Thomas Schouten Date: Sat, 28 Dec 2024 21:14:17 +0100 Subject: [PATCH] Don't try to start a broken connection to Evince, fix #3818 --- .../run/linuxpdfviewer/evince/EvinceInverseSearchListener.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nl/hannahsten/texifyidea/run/linuxpdfviewer/evince/EvinceInverseSearchListener.kt b/src/nl/hannahsten/texifyidea/run/linuxpdfviewer/evince/EvinceInverseSearchListener.kt index 7b812507d..f93dfca72 100644 --- a/src/nl/hannahsten/texifyidea/run/linuxpdfviewer/evince/EvinceInverseSearchListener.kt +++ b/src/nl/hannahsten/texifyidea/run/linuxpdfviewer/evince/EvinceInverseSearchListener.kt @@ -46,6 +46,7 @@ object EvinceInverseSearchListener { } catch (e: Exception) { Notification("LaTeX", "Cannot get connection to DBus", "Check if the correct packages are installed", NotificationType.ERROR).notify(project) + return } }