Skip to content

Commit 24f1f09

Browse files
committed
removed trimming on current open file in editor
1 parent fd49438 commit 24f1f09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FileManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ bool FileManager::isChanged(QString currentFileName)
111111
QTextStream in(&file);
112112
QString savedFileContents = in.readAll();
113113
file.close();
114-
if (savedFileContents != this->m_editor->toPlainText().trimmed())
114+
if (savedFileContents != this->m_editor->toPlainText())
115115
{
116116
QString timeSinceSave = lastSaved(QFileInfo(file));
117117

0 commit comments

Comments
 (0)