Fix mouse wheel scrolling team list when used on team color widget
authorWuzzy <Wuzzy2@mail.ru>
Sun, 16 Jun 2019 12:19:43 +0200
changeset 15166 d20e52a646e7
parent 15165 4c13bc464c61
child 15167 7416f6319de9
Fix mouse wheel scrolling team list when used on team color widget
QTfrontend/ui/widget/colorwidget.cpp
--- a/QTfrontend/ui/widget/colorwidget.cpp	Sun Jun 16 00:49:58 2019 +0200
+++ b/QTfrontend/ui/widget/colorwidget.cpp	Sun Jun 16 12:19:43 2019 +0200
@@ -67,6 +67,7 @@
 
 void ColorWidget::wheelEvent(QWheelEvent *event)
 {
+    event->accept();
     if(event->delta() > 0)
         previousColor();
     else