1
0
Fork 0

GUI: fix Sonar issues

This commit is contained in:
Duncan Ogilvie 2017-10-22 17:07:45 +02:00
parent c102670c3f
commit ecbea6d9d8
No known key found for this signature in database
GPG Key ID: FC89E0AAA0C1AAD8
4 changed files with 3 additions and 5 deletions

View File

@ -279,7 +279,6 @@ void StdTable::expandDown()
if(wRowIndex > mSelection.toIndex) if(wRowIndex > mSelection.toIndex)
{ {
mSelection.fromIndex = mSelection.fromIndex;
mSelection.firstSelectedIndex = wRowIndex; mSelection.firstSelectedIndex = wRowIndex;
mSelection.toIndex = wRowIndex; mSelection.toIndex = wRowIndex;
@ -288,7 +287,6 @@ void StdTable::expandDown()
{ {
mSelection.fromIndex = wRowIndex; mSelection.fromIndex = wRowIndex;
mSelection.firstSelectedIndex = wRowIndex; mSelection.firstSelectedIndex = wRowIndex;
mSelection.toIndex = mSelection.toIndex ;
} }