-rw-r--r-- | korganizer/journalentry.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/korganizer/journalentry.cpp b/korganizer/journalentry.cpp index 05bfd31..232ea58 100644 --- a/korganizer/journalentry.cpp +++ b/korganizer/journalentry.cpp @@ -194,4 +194,9 @@ void JournalEntry::setJournal(Journal *journal) mJournal = journal; - mTitle->setText(mJournal->summary()); + if ( journal->isReadOnly() ) + mTitle->setText(mJournal->summary()+" ("+i18n("readonly")+")"); + else + mTitle->setText(mJournal->summary()); mEditor->setText(mJournal->description()); + mTitle->setReadOnly (journal->isReadOnly() ); + mEditor->setReadOnly ( journal->isReadOnly() ); int id = mJournal->calID(); |