summaryrefslogtreecommitdiffabout
path: root/korganizer/journalentry.cpp
Side-by-side diff
Diffstat (limited to 'korganizer/journalentry.cpp') (more/less context) (show whitespace changes)
-rw-r--r--korganizer/journalentry.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/korganizer/journalentry.cpp b/korganizer/journalentry.cpp
index 395392c..3c01eeb 100644
--- a/korganizer/journalentry.cpp
+++ b/korganizer/journalentry.cpp
@@ -259,8 +259,9 @@ void JournalEntry::writeJournal()
mJournal->setDtStart(QDateTime(mDate,QTime(0,0,0)));
mCalendar->addJournal(mJournal);
}
-
+ if ( mJournal->description() != mEditor->text() )
mJournal->setDescription(mEditor->text());
+ if ( mJournal->summary() != mTitle->text() )
mJournal->setSummary(mTitle->text());
}