QmlDesigner: clear texteditor view statusbar

- when puppet is restarted
 - when the view is attached (switching document, switching mode)

Change-Id: I06a4acf78a18b893bca9f7cd3d2bae74dc3459aa
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Tim Jenssen
2017-10-16 16:31:28 +02:00
committed by Thomas Hartmann
parent b1157e4e63
commit 19203ebbf7
3 changed files with 4 additions and 1 deletions

View File

@@ -93,6 +93,7 @@ TextEditorView::~TextEditorView()
void TextEditorView::modelAttached(Model *model)
{
Q_ASSERT(model);
m_widget->clearStatusBar();
AbstractView::modelAttached(model);