logic: Fixed code view single not cleared properly in some cases
This commit is contained in:
@@ -55,6 +55,18 @@ void QtCodeView::refreshView()
|
||||
}
|
||||
|
||||
void QtCodeView::clear()
|
||||
{
|
||||
m_onQtThread(
|
||||
[=]()
|
||||
{
|
||||
m_widget->clear();
|
||||
}
|
||||
);
|
||||
|
||||
m_errorInfos.clear();
|
||||
}
|
||||
|
||||
void QtCodeView::clearCodeSnippets()
|
||||
{
|
||||
m_onQtThread(
|
||||
[=]()
|
||||
|
||||
Reference in New Issue
Block a user