summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/table/qtable.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/table/qtable.cpp b/src/table/qtable.cpp
index c6ba6ddb2..bf27224c8 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 )