Kaydet (Commit) 771a23df authored tarafından Mihaela Kedikova's avatar Mihaela Kedikova

gridcontrol_03: bug fixes

üst 39ca8c85
...@@ -6271,7 +6271,7 @@ protected: ...@@ -6271,7 +6271,7 @@ protected:
::svt::table::RowPos nLastPos; ::svt::table::RowPos nLastPos;
while ( ( nLastPos = pTC->GetCurrentRow( aPos ) ) != nNr1-1 && nStep > 0 ) while ( ( nLastPos = pTC->GetCurrentRow( aPos ) ) != nNr1-1 && nStep > 0 )
{ {
if ( nLastPos > nNr1-1 ) if ( nLastPos > nNr1-1 || nLastPos == ROW_INVALID )
aPos.Y() -= nStep; aPos.Y() -= nStep;
else else
aPos.Y() += nStep; aPos.Y() += nStep;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment