-rw-r--r-- | korganizer/calendarview.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index ea100d1..8d992b9 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp @@ -470,8 +470,9 @@ void CalendarView::init() leftFrameLayout->addWidget(mFilterView ); } #endif mFilterView->hide(); + mCalEditView->hide(); QWidget *rightBox = new QWidget( mMainFrame ); //mainBoxLayout->addWidget ( rightBox, 10 ); QBoxLayout *rightLayout = new QVBoxLayout( rightBox ); mRightFrame = new QWidgetStack( rightBox ); @@ -3908,11 +3909,12 @@ void CalendarView::selectFilter( int fil ) mFilterView->setSelectedFilter( fil ); } void CalendarView::showFilter(bool visible) { +#if 0 if (visible) mCalEditView->show(); else mCalEditView->hide(); -#if 0 +#else if (visible) mFilterView->show(); else mFilterView->hide(); #endif } |