-rw-r--r-- | korganizer/calendarview.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index 884c61a..0306e07 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp @@ -1235,4 +1235,5 @@ void CalendarView::syncExternal( int mode ) bool loadSuccess = false; PhoneFormat* phoneFormat = 0; + emit tempDisableBR(true); #ifndef DESKTOP_VERSION SharpFormat* sharpFormat = 0; @@ -1250,6 +1251,8 @@ void CalendarView::syncExternal( int mode ) loadSuccess = phoneFormat->load( calendar,mCalendar); - } else + } else { + emit tempDisableBR(false); return; + } if ( loadSuccess ) { getEventViewerDialog()->setSyncMode( true ); @@ -1304,4 +1307,5 @@ void CalendarView::syncExternal( int mode ) delete calendar; updateView(); + emit tempDisableBR(false); return ;//syncOK; |