From 78ae7e3faed42b510f4f0a60007115756cd06128 Mon Sep 17 00:00:00 2001 From: zautrix Date: Fri, 05 Aug 2005 19:27:34 +0000 Subject: fixes --- (limited to 'korganizer/journalentry.cpp') diff --git a/korganizer/journalentry.cpp b/korganizer/journalentry.cpp index 5fc3f2f..7f6f221 100644 --- a/korganizer/journalentry.cpp +++ b/korganizer/journalentry.cpp @@ -250,7 +250,9 @@ void JournalEntry::fillCalendar( int setToID ) } void JournalEntry::toggleShowJournal() -{ +{ + if ( mEditor->text().isEmpty() && mTitle->currentText ().isEmpty() ) + return; if (!mEditor->text().isEmpty() || !mTitle->currentText ().isEmpty()) flushEntry(); if ( showOnlyMode ) -- cgit v0.9.0.2