aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-textedit
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/desktop-utils/lumina-textedit')
-rw-r--r--src-qt5/desktop-utils/lumina-textedit/MainUI.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src-qt5/desktop-utils/lumina-textedit/MainUI.cpp b/src-qt5/desktop-utils/lumina-textedit/MainUI.cpp
index 4a7fbabf..88f7bf00 100644
--- a/src-qt5/desktop-utils/lumina-textedit/MainUI.cpp
+++ b/src-qt5/desktop-utils/lumina-textedit/MainUI.cpp
@@ -92,6 +92,9 @@ void MainUI::LoadArguments(QStringList args){ //CLI arguments
if(ui->groupReplace->isVisible()){ ui->line_find->setFocus(); }
else{ currentEditor()->setFocus(); }
}
+ if(ui->tabWidget->count()<1){
+ NewFile();
+ }
}
// =================
bgstack15