diff options
author | ZackaryWelch <welch.zackary@gmail.com> | 2018-06-04 15:04:12 -0400 |
---|---|---|
committer | ZackaryWelch <welch.zackary@gmail.com> | 2018-06-04 15:04:12 -0400 |
commit | f21911c0d6867d8c86ea644c95d913018868ac55 (patch) | |
tree | 278373d33b83beb3a1374ac4b0add02d9de32804 /src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.cpp | |
parent | Added spellchecking per Hunspell, which is currently disabled. (diff) | |
download | lumina-f21911c0d6867d8c86ea644c95d913018868ac55.tar.gz lumina-f21911c0d6867d8c86ea644c95d913018868ac55.tar.bz2 lumina-f21911c0d6867d8c86ea644c95d913018868ac55.zip |
Removed extra file and whitespace
Diffstat (limited to 'src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.cpp')
-rw-r--r-- | src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.cpp b/src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.cpp index 3c775851..285cd1b9 100644 --- a/src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.cpp +++ b/src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.cpp @@ -62,7 +62,7 @@ void PlainTextEditor::LoadSyntaxRule(QString type){ files[i].SetupDocument(this); SYNTAX->loadRules(files[i]); break; - }else if(i==files.length()-1){ + }else if(i==files.length()-1){ SyntaxFile dummy; SYNTAX->loadRules(dummy); } @@ -364,7 +364,7 @@ void PlainTextEditor::fileChanged(){ text.append("\n"); text.append( tr("(Note: You will lose all currently-unsaved changes)") ); text.append("\n\n%1"); - + if(!update){ update = (QMessageBox::Yes == QMessageBox::question(this, tr("File Modified"),text.arg(currentFile()) , QMessageBox::Yes | QMessageBox::No, QMessageBox::No) ); } |