diff options
Diffstat (limited to 'src/FbWinFrame.cc')
-rw-r--r-- | src/FbWinFrame.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbWinFrame.cc b/src/FbWinFrame.cc index 9ac2935..53d1d2c 100644 --- a/src/FbWinFrame.cc +++ b/src/FbWinFrame.cc | |||
@@ -372,7 +372,7 @@ void FbWinFrame::moveLabelButtonLeft(FbTk::TextButton &btn) { | |||
372 | } | 372 | } |
373 | 373 | ||
374 | void FbWinFrame::moveLabelButtonRight(FbTk::TextButton &btn) { | 374 | void FbWinFrame::moveLabelButtonRight(FbTk::TextButton &btn) { |
375 | m_tab_container.moveItem(&btn, -1); | 375 | m_tab_container.moveItem(&btn, +1); |
376 | } | 376 | } |
377 | 377 | ||
378 | void FbWinFrame::moveLabelButtonTo(FbTk::TextButton &btn, int x, int y) { | 378 | void FbWinFrame::moveLabelButtonTo(FbTk::TextButton &btn, int x, int y) { |
@@ -394,7 +394,7 @@ void FbWinFrame::moveLabelButtonRightOf(FbTk::TextButton &btn, const FbTk::TextB | |||
394 | if (pos < 0) | 394 | if (pos < 0) |
395 | return; | 395 | return; |
396 | 396 | ||
397 | m_tab_container.moveItem(&btn, pos-1); | 397 | m_tab_container.moveItem(&btn, pos+1); |
398 | } | 398 | } |
399 | 399 | ||
400 | void FbWinFrame::setLabelButtonFocus(FbTk::TextButton &btn) { | 400 | void FbWinFrame::setLabelButtonFocus(FbTk::TextButton &btn) { |