* UIDataGridView: 更新单选时选中值SelectedIndex值
This commit is contained in:
parent
a6b6da2629
commit
afd9b059da
Binary file not shown.
Binary file not shown.
@ -600,10 +600,7 @@ namespace Sunny.UI
|
||||
{
|
||||
get
|
||||
{
|
||||
if (SelectedRows.Count > 0)
|
||||
return SelectedRows[0].Index;
|
||||
else
|
||||
return -1;
|
||||
return CurrentRow != null ? CurrentRow.Index : -1;
|
||||
}
|
||||
set
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user