Diffstat (limited to 'core/pim/datebook/datebookdayallday.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/datebook/datebookdayallday.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/pim/datebook/datebookdayallday.cpp b/core/pim/datebook/datebookdayallday.cpp index 5b40246..27fce44 100644 --- a/core/pim/datebook/datebookdayallday.cpp +++ b/core/pim/datebook/datebookdayallday.cpp | |||
@@ -192,7 +192,7 @@ void DatebookAlldayDisp::mousePressEvent(QMouseEvent*e) | |||
192 | setBackgroundColor(green); | 192 | setBackgroundColor(green); |
193 | update(); | 193 | update(); |
194 | QPopupMenu m; | 194 | QPopupMenu m; |
195 | if (!m_holiday) { | 195 | if (ev.isValidUid()) { |
196 | m.insertItem( DateBookDayWidget::tr( "Edit" ), 1 ); | 196 | m.insertItem( DateBookDayWidget::tr( "Edit" ), 1 ); |
197 | m.insertItem( DateBookDayWidget::tr( "Duplicate" ), 4 ); | 197 | m.insertItem( DateBookDayWidget::tr( "Duplicate" ), 4 ); |
198 | m.insertItem( DateBookDayWidget::tr( "Delete" ), 2 ); | 198 | m.insertItem( DateBookDayWidget::tr( "Delete" ), 2 ); |