1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-05 08:57:35 +00:00

GDirectoryModel: prevent sorting by icons.

This commit is contained in:
Ignas S 2019-08-12 11:00:33 +03:00 committed by Andreas Kling
parent 823d5d097b
commit 405d7ddec8

View file

@ -119,7 +119,7 @@ GModel::ColumnMetadata GDirectoryModel::column_metadata(int column) const
{
switch (column) {
case Column::Icon:
return { 16, TextAlignment::Center };
return { 16, TextAlignment::Center, false };
case Column::Name:
return { 120, TextAlignment::CenterLeft };
case Column::Size: