diff --git a/src/kcategorizedview.cpp b/src/kcategorizedview.cpp index 1898799534..d612f4b1c0 100644 --- a/src/kcategorizedview.cpp +++ b/src/kcategorizedview.cpp @@ -744,7 +744,7 @@ void KCategorizedView::paintEvent(QPaintEvent *event) option.state |= QStyle::State_Editing; } - if ((index == d->hovered) && !d->mouseButtonPressed) + if ((index == d->hovered) && !d->mouseButtonPressed && (this->state() != QAbstractItemView::DraggingState)) option.state |= QStyle::State_MouseOver; else option.state &= ~QStyle::State_MouseOver;