Skip to content

Commit

Permalink
Update ProductsGrid.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mbucari authored Jul 10, 2023
1 parent a83fe9e commit 1fa4156
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/LibationWinForms/GridView/ProductsGrid.cs
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,8 @@ private void gridEntryDataGridView_ColumnWidthChanged(object sender, DataGridVie
var config = Configuration.Instance;

var dictionary = config.GridColumnsWidths;
dictionary[e.Column.DataPropertyName] = e.Column.Width;
dictionary[e.Column.DataPropertyName] = e.Column.Width;
config.GridColumnsWidths = dictionary;
}

#endregion
Expand Down

0 comments on commit 1fa4156

Please sign in to comment.