summaryrefslogtreecommitdiffabout
path: root/korganizer/kodaymatrix.cpp
Side-by-side diff
Diffstat (limited to 'korganizer/kodaymatrix.cpp') (more/less context) (show whitespace changes)
-rw-r--r--korganizer/kodaymatrix.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/korganizer/kodaymatrix.cpp b/korganizer/kodaymatrix.cpp
index dfc6af7..c55f7d7 100644
--- a/korganizer/kodaymatrix.cpp
+++ b/korganizer/kodaymatrix.cpp
@@ -291,2 +291,3 @@ bool KODayMatrix::setSelectedDaysFrom(const QDate& start, const QDate& end)
{
+ mRedrawNeeded = true;
bool noSel = (mSelEnd == NOSELECTION && mSelStart == NOSELECTION );
@@ -513,2 +514,3 @@ void KODayMatrix::mousePressEvent (QMouseEvent* e)
mSelEnd = mSelStart;
+ mRedrawNeeded = true;
repaint(false);
@@ -518,2 +520,3 @@ void KODayMatrix::mouseReleaseEvent (QMouseEvent* e)
{
+ mRedrawNeeded = true;
if ( e->button() == LeftButton )
@@ -558,2 +561,3 @@ void KODayMatrix::mouseMoveEvent (QMouseEvent* e)
}
+ mRedrawNeeded = true;
int tmp = getDayIndexFrom(e->x(), e->y());