From ebc0e72e4129aa1acca86e19bfcbdc5610d4270a Mon Sep 17 00:00:00 2001 From: Krzysztof Kowalczyk Date: Thu, 19 Sep 2024 18:47:15 +0200 Subject: [PATCH] ViewWithKnownExternalViewer: ReportIf() => ReportDebugIf() --- src/ExternalViewers.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ExternalViewers.cpp b/src/ExternalViewers.cpp index 43853cb1aae0..bedd8f370d14 100644 --- a/src/ExternalViewers.cpp +++ b/src/ExternalViewers.cpp @@ -395,9 +395,9 @@ static TempStr GetDocumentPathQuoted(WindowTab* tab) { bool ViewWithKnownExternalViewer(WindowTab* tab, int cmdId) { bool canView = CanViewWithKnownExternalViewer(tab, cmdId); if (!canView) { - // TODO: with command palette can send un-enforcable command logfa("ViewWithKnownExternalViewer cmd: %d\n", cmdId); - ReportIf(!canView); + // with command palette can send un-enforcable command so not ReportIf + ReportDebugIf(!canView); return false; } ExternalViewerInfo* ev = FindKnownExternalViewerInfoByCmdId(cmdId);