* 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:
parent
126d77c5d5
commit
1f25254a3f
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user