Merge pull request #1881 from kerusan/cpruleeditor_post_row_change

Fixed: 'RowCountChanged' notification generates nil warning when dragging a row
This commit is contained in:
aparajita committed 2013-04-18 13:26:20 -07:00
commit c7f4517490
1 file changed
+1 -1
+1 -1
View File
@@ -2279,7 +2279,7 @@ TODO: implement
- (void)_postRowCountChangedNotificationOfType:(CPString)notificationName indexes:indexes
{
var userInfo = @{ "indexes": indexes };
var userInfo = indexes === nil ? @{} : @{ "indexes": indexes };
[[CPNotificationCenter defaultCenter] postNotificationName:notificationName object:self userInfo:userInfo];
}