mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Desktop: enable tab-changes-focus for TagWidget
When tabbing through the dive-info screen, a dive-master and a dive-buddy would be added. The reason is that pressing tab would be interpreted as a text-input. Disable this behavior by calling setTabChangesFocus(true) in the TagWidget constructor. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
7697003498
commit
397e818be1
2 changed files with 2 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
- Desktop: don't add dive-buddy or dive-master when tabbing through fields
|
||||
- Filter: don't recalculate all filters on dive list-modifying operations
|
||||
- Desktop: don't recalculate full dive list on dive list-modifying operations
|
||||
- Undo: implement undo/redo for all dive list-modifying operations
|
||||
|
|
|
@ -26,6 +26,7 @@ TagWidget::TagWidget(QWidget *parent) : GroupedLineEdit(parent), m_completer(NUL
|
|||
addColor(QColor(Qt::green).darker(120));
|
||||
addColor(QColor(Qt::blue).darker(120));
|
||||
} // light text. get a dark background.
|
||||
setTabChangesFocus(true);
|
||||
setFocusPolicy(Qt::StrongFocus);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue