summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--korganizer/mainwindow.cpp7
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
@@ -1985,2 +1985,3 @@ void MainWindow::save()
if ( mSyncManager->blockSave() ) {
+ slotModifiedChanged( true );
return;
@@ -2561,2 +2562,7 @@ void MainWindow::syncFileRequest()
{
+ while ( mSyncManager->blockSave() ) {
+ qApp->processEvents();
+ }
+ mSyncManager->setBlockSave(true);
+
if ( KOPrefs::instance()->mPassiveSyncWithDesktop ) {
@@ -2568,2 +2574,3 @@ void MainWindow::syncFileRequest()
setCaption(i18n("Data saved to temp file!" ));
+ mSyncManager->setBlockSave( false );