Author: alanmc
Date: 2007-08-22 18:04:58 -0400 (Wed, 22 Aug 2007)
New Revision: 84671

Modified:
   trunk/lunareclipse/ChangeLog
   trunk/lunareclipse/Controller/UndoActions/UndoPropertyChange.cs
Log:
* Controller/UndoActions/UndoPropertyChange.cs: Fixed a buglet in
  undoing properties silently which was breaking animations

Modified: trunk/lunareclipse/ChangeLog
===================================================================
--- trunk/lunareclipse/ChangeLog        2007-08-22 21:59:09 UTC (rev 84670)
+++ trunk/lunareclipse/ChangeLog        2007-08-22 22:04:58 UTC (rev 84671)
@@ -1,5 +1,10 @@
 2007-08-22  Alan McGovern <[EMAIL PROTECTED]> 
 
+       * Controller/UndoActions/UndoPropertyChange.cs: Fixed a buglet in 
undoing
+         properties silently which was breaking animations
+
+2007-08-22  Alan McGovern <[EMAIL PROTECTED]> 
+
        * Model/StoryboardManager.cs, View/MainWindow.cs,
          Properties/PropertyManager.cs: Added the ability to change the
          NameProperty -> All storyboards correctly update

Modified: trunk/lunareclipse/Controller/UndoActions/UndoPropertyChange.cs
===================================================================
--- trunk/lunareclipse/Controller/UndoActions/UndoPropertyChange.cs     
2007-08-22 21:59:09 UTC (rev 84670)
+++ trunk/lunareclipse/Controller/UndoActions/UndoPropertyChange.cs     
2007-08-22 22:04:58 UTC (rev 84671)
@@ -65,7 +65,7 @@
         public override void Undo ()
         {
                        if(silent)
-                               Target.SetValue<object>(property, newvalue);
+                               Target.SetValue<object>(property, oldvalue);
                        else
                                Toolbox.ChangeProperty(Target, property, 
oldvalue);
         }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to