mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-12-01 02:42:03 +00:00
CPTableColumnHeaderView: when a column is pressed and is the _editingColumn, make the table view first responder
This commit is contained in:
1 parent
899cd22999
commit
cd54687f41
1 file changed
+3
@@ -321,6 +321,9 @@ var _CPTableColumnHeaderViewStringValueKey = @"_CPTableColumnHeaderViewStringVal
|
||||
{
|
||||
var headerView = [_tableView._tableColumns[column] headerView];
|
||||
[headerView setThemeState:CPThemeStateHighlighted];
|
||||
|
||||
if (_tableView._editingColumn == column)
|
||||
[[self window] makeFirstResponder:_tableView];
|
||||
}
|
||||
|
||||
_pressedColumn = column;
|
||||
|
||||
Reference in new issue
Block a user