-rw-r--r-- | korganizer/mainwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 63053a5..d959a7a 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp | |||
@@ -1661,24 +1661,25 @@ void MainWindow::enableIncidenceActions( bool enabled ) | |||
1661 | mEditAction->setEnabled( enabled ); | 1661 | mEditAction->setEnabled( enabled ); |
1662 | mDeleteAction->setEnabled( enabled ); | 1662 | mDeleteAction->setEnabled( enabled ); |
1663 | 1663 | ||
1664 | mCloneAction->setEnabled( enabled ); | 1664 | mCloneAction->setEnabled( enabled ); |
1665 | mMoveAction->setEnabled( enabled ); | 1665 | mMoveAction->setEnabled( enabled ); |
1666 | mBeamAction->setEnabled( enabled ); | 1666 | mBeamAction->setEnabled( enabled ); |
1667 | mCancelAction->setEnabled( enabled ); | 1667 | mCancelAction->setEnabled( enabled ); |
1668 | } | 1668 | } |
1669 | 1669 | ||
1670 | void MainWindow::importOL() | 1670 | void MainWindow::importOL() |
1671 | { | 1671 | { |
1672 | #ifdef _OL_IMPORT_ | 1672 | #ifdef _OL_IMPORT_ |
1673 | mView->clearAllViews(); | ||
1673 | KOImportOLdialog *id = new KOImportOLdialog("Import from OL - select folder!" , mView->calendar(),this ); | 1674 | KOImportOLdialog *id = new KOImportOLdialog("Import from OL - select folder!" , mView->calendar(),this ); |
1674 | id->exec(); | 1675 | id->exec(); |
1675 | delete id; | 1676 | delete id; |
1676 | mView->updateView(); | 1677 | mView->updateView(); |
1677 | #endif | 1678 | #endif |
1678 | } | 1679 | } |
1679 | void MainWindow::importBday() | 1680 | void MainWindow::importBday() |
1680 | { | 1681 | { |
1681 | int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"), | 1682 | int result = QMessageBox::warning( this, i18n("KO/Pi: Warning!"), |
1682 | i18n("When importing birthdays twice\nduplicated events will be ignored,\nif the event has not been\nchanged in KO/Pi!\n"), | 1683 | i18n("When importing birthdays twice\nduplicated events will be ignored,\nif the event has not been\nchanged in KO/Pi!\n"), |
1683 | i18n("Import!"), i18n("Cancel"), 0, | 1684 | i18n("Import!"), i18n("Cancel"), 0, |
1684 | 0, 1 ); | 1685 | 0, 1 ); |