diff --git a/modules/gui/qt4/util/customwidgets.hpp b/modules/gui/qt4/util/customwidgets.hpp
index 5f2279cd8f47ac8df2e036889b026779176e2c5f..24bc32436dc968d9c283411431c37e432ffc4f94 100644
--- a/modules/gui/qt4/util/customwidgets.hpp
+++ b/modules/gui/qt4/util/customwidgets.hpp
@@ -82,6 +82,7 @@ public:
             emit rightClicked( indexAt( QPoint( e->x(), e->y() ) ),
                                QCursor::pos() );
         }
+        QTreeView::mouseReleaseEvent( e );
     }
 signals:
     void rightClicked( QModelIndex, QPoint  );