* 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:
@@ -245,8 +245,7 @@ VolumeControl::MessageReceived(BMessage* msg)
|
|||||||
|
|
||||||
if (newValue != currentValue) {
|
if (newValue != currentValue) {
|
||||||
SetValue(newValue);
|
SetValue(newValue);
|
||||||
if (ModificationMessage() != NULL)
|
InvokeNotify(ModificationMessage(), B_CONTROL_MODIFIED);
|
||||||
Messenger().SendMessage(ModificationMessage());
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user