made the columns in the search and scratchpad windows sortable
This commit is contained in:
parent
be56bbd453
commit
fded40b175
|
@ -109,6 +109,8 @@ ZebraTreeView :: appendColumn(
|
|||
viewColumn->set_min_width(minimumWidth);
|
||||
}
|
||||
|
||||
viewColumn->set_sort_column(modelColumn);
|
||||
|
||||
return append_column(*viewColumn);
|
||||
}
|
||||
|
||||
|
@ -238,6 +240,8 @@ ZebraTreeView :: appendCenteredColumn(
|
|||
viewColumn->set_min_width(minimumWidth);
|
||||
}
|
||||
|
||||
viewColumn->set_sort_column(modelColumn);
|
||||
|
||||
return append_column(*viewColumn);
|
||||
}
|
||||
|
||||
|
@ -310,7 +314,7 @@ ZebraTreeView :: lineNumberCellDataFunction(
|
|||
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
* Add a centered text column to the TreeView.
|
||||
* Add an editable centered text column to the TreeView.
|
||||
*----------------------------------------------------------------------------*/
|
||||
int
|
||||
ZebraTreeView :: appendEditableColumn(
|
||||
|
@ -349,6 +353,8 @@ ZebraTreeView :: appendEditableColumn(
|
|||
viewColumn->set_min_width(minimumWidth);
|
||||
}
|
||||
|
||||
viewColumn->set_sort_column(modelColumn);
|
||||
|
||||
return append_column(*viewColumn);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue