From b3152b3c7d7393da12cd0f8fec7ade2606d51ed5 Mon Sep 17 00:00:00 2001 From: albert-github Date: Tue, 19 Jan 2021 18:14:09 +0100 Subject: Non default value not shown properly in doxywizard In case of a string list with no default values the changed item was not shown with a red color when the list to be used had elements. The test was done against the wrong list. --- addon/doxywizard/inputstrlist.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addon/doxywizard/inputstrlist.cpp b/addon/doxywizard/inputstrlist.cpp index cdc7d14..591ba3a 100644 --- a/addon/doxywizard/inputstrlist.cpp +++ b/addon/doxywizard/inputstrlist.cpp @@ -276,8 +276,8 @@ bool InputStrList::isDefault() if (it1==m_strList.end() && it2==m_default.end()) return true; // one list is empty but the other is not - if (it1==m_default.end()) return false; - if (it2==m_strList.end()) return false; + if (it1==m_strList.end()) return false; + if (it2==m_default.end()) return false; it1 = m_strList.begin(); it2 = m_default.begin(); -- cgit v0.12