mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 04:57:03 +00:00
Fixed: CPThemeStateSelectedDataView still set when removing a view
Previously, when removing a view from a CPTableView, the themeState CPThemeStateSelectedDataView wasn't unset. Now it does.
This commit is contained in:
@@ -3950,6 +3950,9 @@ Your delegate can implement this method to avoid subclassing the tableview to ad
|
||||
// FIXME: yuck!
|
||||
var identifier = [aDataView identifier];
|
||||
|
||||
if ([aDataView hasThemeState:CPThemeStateSelectedDataView])
|
||||
[aDataView unsetThemeState:CPThemeStateSelectedDataView];
|
||||
|
||||
if (!_cachedDataViews[identifier])
|
||||
_cachedDataViews[identifier] = [aDataView];
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user