diff --git a/src/table/qtable.cpp b/src/table/qtable.cpp index c6ba6ddb..bf27224c 100644 --- a/src/table/qtable.cpp +++ b/src/table/qtable.cpp @@ -4101,11 +4101,12 @@ void TQTable::fixCell( int &row, int &col, int key ) row = curRow; } else if ( key == Key_Up || key == Key_Prior || - key == Key_Home ) + key == Key_Home ) { while ( row >= 0 && rowHeight( row ) <= 0 ) row--; if ( rowHeight( row ) <= 0 ) row = curRow; + } } else if ( columnWidth( col ) <= 0 ) { if ( key == Key_Left ) { while ( col >= 0 && columnWidth( col ) <= 0 )