C2023-007: Annotation search, when remove annotation, move to next item in list (not previous)
This commit is contained in:
parent
c1904169f5
commit
344f958d9c
@ -947,7 +947,9 @@ namespace Volian.Controls.Library
|
|||||||
|
|
||||||
DisplayResults();
|
DisplayResults();
|
||||||
UpdatedAnnotationList = true;
|
UpdatedAnnotationList = true;
|
||||||
lbSrchResults.SelectedIndex = curindx < 0 ? -1 : curindx - 1;
|
// C2023-007: C2023-005 reset position after delete but positioned to item before deleted item, modified the
|
||||||
|
// list reset to position after deleted item
|
||||||
|
lbSrchResults.SelectedIndex = curindx < 0 ? -1 : curindx == lbSrchResults.Items.Count ? curindx - 1 : curindx;
|
||||||
UpdatedAnnotationList = false;
|
UpdatedAnnotationList = false;
|
||||||
}
|
}
|
||||||
private bool UpdatedAnnotationList = false;
|
private bool UpdatedAnnotationList = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user