private void EditRow(int row)
{
int s = GetListValue(listStore.GetValue(row, startCol));
int e = GetListValue(listStore.GetValue(row, endCol));
var dialog = new CharDialog(this.ParentWindow.Icon, (char)s, (char)e);
dialog.TransientFor = this.ParentWindow;
if (dialog.Run() == Command.Ok)
{
char start, end;
dialog.char1.GetCurrentChar(out start);
dialog.char2.GetCurrentChar(out end);
SetListValues(row, start, end);
}
dialog.Dispose();
}