summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/autotest/testcodeparser.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/autotest/testcodeparser.cpp b/plugins/autotest/testcodeparser.cpp
index bc28fa0720..2ffe2a137e 100644
--- a/plugins/autotest/testcodeparser.cpp
+++ b/plugins/autotest/testcodeparser.cpp
@@ -751,8 +751,11 @@ void TestCodeParser::onFinished()
emit parsingFinished();
m_dirty = false;
break;
+ case Disabled: // can happen if all Test related widgets become hidden while parsing
+ emit parsingFinished();
+ break;
default:
- qWarning("I should not be here...");
+ qWarning("I should not be here... State: %d", m_parserState);
break;
}
}