* Fixed the non-working volume update when using the mouse wheel - only

the slider position was updated, not the actual volume.
* Use InvokeNotify() for wheel changes so that we correctly notify listeners.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30084 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2009-04-09 21:40:35 +00:00
parent 126d77c5d5
commit 1f25254a3f

View File

@ -245,8 +245,7 @@ VolumeControl::MessageReceived(BMessage* msg)
if (newValue != currentValue) {
SetValue(newValue);
if (ModificationMessage() != NULL)
Messenger().SendMessage(ModificationMessage());
InvokeNotify(ModificationMessage(), B_CONTROL_MODIFIED);
}
break;
}