aboutsummaryrefslogtreecommitdiffstats
path: root/textedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'textedit.cpp')
-rw-r--r--textedit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/textedit.cpp b/textedit.cpp
index 10f4585..3e78293 100644
--- a/textedit.cpp
+++ b/textedit.cpp
@@ -50,7 +50,7 @@ void TextEdit::newTab()
tabWidget->addTab(page, header);
tabWidget->setCurrentIndex(tabWidget->count() - 1);
page->getTextPage()->setFocus();
- connect(page->getTextPage(), SIGNAL(modificationChanged(bool)), this, SLOT(showModified()));
+ connect(page->getTextPage()->document(), SIGNAL(modificationChanged(bool)), this, SLOT(showModified()));
}
void TextEdit::newHelpTab(QString title, QString path)