-rw-r--r-- | korganizer/koagendaview.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/korganizer/koagendaview.cpp b/korganizer/koagendaview.cpp index f452db0..b9909d6 100644 --- a/korganizer/koagendaview.cpp +++ b/korganizer/koagendaview.cpp @@ -1069,8 +1069,12 @@ void KOAgendaView::fillAgenda() if ( globalFlagBlockStartup ) return; if ( globalFlagBlockAgenda == 1 ) return; + static bool onlyOne = false; + if ( onlyOne ) + return; + onlyOne = true; //if ( globalFlagBlockAgenda == 2 ) //globalFlagBlockAgenda = 0; // globalFlagBlockPainting = false; if ( globalFlagBlockAgenda == 0 ) @@ -1256,8 +1260,9 @@ void KOAgendaView::fillAgenda() //mAllDayAgenda->hideUnused(); mAllDayAgenda->drawContentsToPainter(); mAgenda->drawContentsToPainter(); repaintAgenda(); + onlyOne = false; // mAgenda->finishUpdate(); //mAllDayAgenda->finishUpdate(); // repaintAgenda(); |