Last active
August 29, 2015 13:59
-
-
Save takeshik/10719763 to your computer and use it in GitHub Desktop.
[PATCH] よくわからないが、こうすると落ちなくなる (酷)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
StarryEyes/Hotfixes/ViewModelHelperRx.cs | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
diff --git a/StarryEyes/Hotfixes/ViewModelHelperRx.cs b/StarryEyes/Hotfixes/ViewModelHelperRx.cs | |
index 811f4ed..2efd9c6 100644 | |
--- a/StarryEyes/Hotfixes/ViewModelHelperRx.cs | |
+++ b/StarryEyes/Hotfixes/ViewModelHelperRx.cs | |
@@ -77,7 +77,7 @@ namespace StarryEyes | |
switch (e.Action) | |
{ | |
case NotifyCollectionChangedAction.Add: | |
- target.Insert(e.NewStartingIndex, converter((TModel)e.NewItems[0])); | |
+ target.Add(converter((TModel) e.NewItems[0])); | |
break; | |
case NotifyCollectionChangedAction.Move: | |
target.Move(e.OldStartingIndex, e.NewStartingIndex); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment