GDirectoryModel: prevent sorting by icons.

This commit is contained in:
Ignas S 2019-08-12 11:00:33 +03:00 committed by Andreas Kling
commit 405d7ddec8
Notes: sideshowbarker 2024-07-19 17:45:07 +09:00

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: