mirror of
https://github.com/PredatH0r/ChanSort.git
synced 2026-02-20 21:36:49 +01:00
upgrade to DevExpress 17.1 library
This commit is contained in:
@@ -2895,6 +2895,8 @@ namespace ChanSort.Ui
|
||||
private void gview_ShownEditor(object sender, EventArgs e)
|
||||
{
|
||||
var view = (GridView) sender;
|
||||
if (view.FocusedRowHandle < 0)
|
||||
return;
|
||||
var edit = view.ActiveEditor as TextEdit;
|
||||
if (edit == null) return;
|
||||
edit.Properties.MaxLength = view.FocusedColumn.FieldName == "Name" ? this.CurrentChannelList.MaxChannelNameLength : 0;
|
||||
|
||||
Reference in New Issue
Block a user