From e4e6bda3a6b0a82e3f64db0fa5f7d60cab9f0e48 Mon Sep 17 00:00:00 2001 From: zautrix Date: Mon, 28 Mar 2005 13:31:19 +0000 Subject: fixes --- (limited to 'korganizer/calendarview.cpp') diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index a330414..0015bd6 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp @@ -3427,7 +3427,16 @@ bool CalendarView::isModified() { return mModified; } - +void CalendarView::slotprintSelInc() +{ + if ( currentSelection() == 0 ) { + KMessageBox::sorry(this,i18n("There is nothing selected!")); + return; + } + showIncidence(); + getEventViewerDialog()->print(); + +} void CalendarView::printSetup() { #ifndef KORG_NOPRINTER -- cgit v0.9.0.2