-rw-r--r-- | korganizer/mainwindow.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 7ce0251..45775c5 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp @@ -1984,4 +1984,5 @@ void MainWindow::save() } if ( mSyncManager->blockSave() ) { + slotModifiedChanged( true ); return; } @@ -2560,4 +2561,9 @@ QString MainWindow::sentSyncFile() void MainWindow::syncFileRequest() { + while ( mSyncManager->blockSave() ) { + qApp->processEvents(); + } + mSyncManager->setBlockSave(true); + if ( KOPrefs::instance()->mPassiveSyncWithDesktop ) { mSyncManager->slotSyncMenu( 999 ); @@ -2567,4 +2573,5 @@ void MainWindow::syncFileRequest() mView->saveCalendar( sentSyncFile() ); setCaption(i18n("Data saved to temp file!" )); + mSyncManager->setBlockSave( false ); } |