mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 22:55:06 +00:00
GTableView and friends: API improvements for 'Sortable' flag.
This commit is contained in:
parent
405d7ddec8
commit
6228e18a09
3 changed files with 4 additions and 3 deletions
|
@ -119,7 +119,7 @@ GModel::ColumnMetadata GDirectoryModel::column_metadata(int column) const
|
|||
{
|
||||
switch (column) {
|
||||
case Column::Icon:
|
||||
return { 16, TextAlignment::Center, false };
|
||||
return { 16, TextAlignment::Center, nullptr, GModel::ColumnMetadata::Sortable::False };
|
||||
case Column::Name:
|
||||
return { 120, TextAlignment::CenterLeft };
|
||||
case Column::Size:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue