fixed crash when changing b/w edit/design mode while QML Designer is loading

This commit is contained in:
Lasse Holmstedt
2010-03-01 13:10:32 +01:00
parent 8951d66168
commit 079897f295
2 changed files with 1 additions and 3 deletions

View File

@@ -533,8 +533,7 @@ void DesignModeWidget::showEditor(Core::IEditor *editor)
documentWidget = new DocumentWidget(textEditor, textEdit, newDocument, this);
connect(documentWidget->document(), SIGNAL(undoAvailable(bool)),
this, SLOT
(undoAvailable(bool)));
this, SLOT(undoAvailable(bool)));
connect(documentWidget->document(), SIGNAL(redoAvailable(bool)),
this, SLOT(redoAvailable(bool)));
// connect(documentWidget->document(), SIGNAL(deleteAvailable(bool)),