1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-19 01:04:20 +00:00

Fixed for OpenGL, DropShadower, Linux midi, VST resizing + mouse wheel hooks.

This commit is contained in:
Julian Storer 2011-04-26 14:53:46 +01:00
parent 06d2fe4887
commit a9b1676028
16 changed files with 149 additions and 112 deletions

View file

@ -340,12 +340,12 @@ void ValueTree::SharedObject::setProperty (const Identifier& name, const var& ne
}
else
{
var* const existingValue = properties.getVarPointer (name);
const var* const existingValue = properties.getVarPointer (name);
if (existingValue != nullptr)
{
if (*existingValue != newValue)
undoManager->perform (new SetPropertyAction (this, name, newValue, properties [name], false, false));
undoManager->perform (new SetPropertyAction (this, name, newValue, *existingValue, false, false));
}
else
{