Fix crash on category change

This commit is contained in:
Flamefire committed 2014-12-01 21:42:40 +01:00
1 parent 417de86984
commit a1981804e3
1 file changed
+2 -1
+2 -1
View File
@@ -92,7 +92,8 @@ namespace Vocaluxe.Base
if (value == -1 || _IsCatIndexValid(value))
{
_CatIndex = value;
OnCategoryChanged();
if (OnCategoryChanged != null)
OnCategoryChanged();
}
}
}