logic: Fixed code view single not cleared properly in some cases

This commit is contained in:
Eberhard Graether
2017-02-13 13:20:20 +01:00
parent 8a93bebff8
commit 259b112080
7 changed files with 27 additions and 5 deletions
+12
View File
@@ -55,6 +55,18 @@ void QtCodeView::refreshView()
}
void QtCodeView::clear()
{
m_onQtThread(
[=]()
{
m_widget->clear();
}
);
m_errorInfos.clear();
}
void QtCodeView::clearCodeSnippets()
{
m_onQtThread(
[=]()