diff --git a/gui/resultstree.cpp b/gui/resultstree.cpp index 06a7d9ed7..6665097b3 100644 --- a/gui/resultstree.cpp +++ b/gui/resultstree.cpp @@ -268,7 +268,7 @@ QStandardItem *ResultsTree::AddBacktraceFiles(QStandardItem *parent, ShowTypes ResultsTree::VariantToShowType(const QVariant &data) { int value = data.toInt(); - if (value < SHOW_STYLE && value > SHOW_ERRORS) + if (value < SHOW_STYLE || value > SHOW_ERRORS) { return SHOW_NONE; }