diff options
-rw-r--r-- | src-qt5/desktop-utils/lumina-textedit/MainUI.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src-qt5/desktop-utils/lumina-textedit/MainUI.cpp b/src-qt5/desktop-utils/lumina-textedit/MainUI.cpp index 2fe54ac9..780483f7 100644 --- a/src-qt5/desktop-utils/lumina-textedit/MainUI.cpp +++ b/src-qt5/desktop-utils/lumina-textedit/MainUI.cpp @@ -529,7 +529,8 @@ void MainUI::closeEvent(QCloseEvent *ev){ this, tr("Save Changes before closing?"), QString(tr("There are unsaved changes.\nDo you want save them before you close the editor?\n\n%1")).arg(unsaved.join("\n")), - QMessageBox::Yes | QMessageBox::No | QMessageBox::Cancel, QMessageBox::No); + QMessageBox::Yes | QMessageBox::No | QMessageBox::Cancel, + QMessageBox::No); if(but == QMessageBox::Cancel){ ev->ignore(); |