Skip to content

Commit

Permalink
fix autosort not being saved on a new column being created`
Browse files Browse the repository at this point in the history
  • Loading branch information
JorisGoosen committed Sep 30, 2024
1 parent d26c0d4 commit 6a6182a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CommonData/column.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ Column::Column(DataSet * data, int id)
_emptyValues( new EmptyValues(data->emptyValues())),
_doubleDummy( new Label(this)),
_autoSortByValue( _autoSortByValuesByDefault)
{}
{
if(_id != -1)
db().columnSetAutoSort(_id, _autoSortByValue); //Store autosort in db
}

Column::~Column()
{
Expand Down

0 comments on commit 6a6182a

Please sign in to comment.