From 922ace49b2403040b7b985290479141fc8224fc8 Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Mon, 25 Feb 2008 12:58:49 +0000 Subject: [PATCH] update() after wheelEvent git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@705 0778d3d1-df1d-0410-868b-ea421aaaa00d --- src/widgets/combobox.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/widgets/combobox.cpp b/src/widgets/combobox.cpp index 06bd4f395..86a30affd 100644 --- a/src/widgets/combobox.cpp +++ b/src/widgets/combobox.cpp @@ -34,6 +34,8 @@ #include #include +#include "automatable_model_templates.h" +#include "automation_pattern.h" #include "caption_menu.h" #include "embed.h" #include "gui_templates.h" @@ -217,6 +219,7 @@ void comboBox::wheelEvent( QWheelEvent * _we ) { model()->setInitValue( model()->value() + ( ( _we->delta() < 0 ) ? 1 : -1 ) ); + update(); _we->accept(); }