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 b60c28d..064fa94 100644
--- a/textedit.cpp
+++ b/textedit.cpp
@@ -297,7 +297,7 @@ bool TextEdit::maybeSaveAnyTab()
}
-QPlainTextEdit* TextEdit::curTextPage()
+QTextEdit* TextEdit::curTextPage()
{
EditorPage *curTextPage = qobject_cast<EditorPage *>(tabWidget->currentWidget());
return curTextPage->getTextPage();