aboutsummaryrefslogtreecommitdiffstats
path: root/editorpage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editorpage.cpp')
-rw-r--r--editorpage.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editorpage.cpp b/editorpage.cpp
index f60f4aa..4bead12 100644
--- a/editorpage.cpp
+++ b/editorpage.cpp
@@ -35,6 +35,7 @@ EditorPage::EditorPage(const QString &filePath, QWidget *parent) : QWidget(paren
mainLayout->setContentsMargins(0,0,0,0);
setLayout(mainLayout);
setAttribute(Qt::WA_DeleteOnClose);
+ textPage->setFocus();
}