mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Use focus policy setting from widget constructor
Since we use tags widget for several input fields (tags, buddy, divemaster), it makes sense to keep focus policy setting in one place. Signed-off-by: Sergey Starosek <sergey.starosek@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
ec1088f2cc
commit
c8807c2ad2
1 changed files with 0 additions and 1 deletions
|
@ -31,7 +31,6 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent),
|
|||
editMode(NONE)
|
||||
{
|
||||
ui.setupUi(this);
|
||||
ui.tagWidget->setFocusPolicy(Qt::StrongFocus); // Don't get focus by 'Wheel'
|
||||
ui.cylinders->setModel(cylindersModel);
|
||||
ui.weights->setModel(weightModel);
|
||||
closeMessage();
|
||||
|
|
Loading…
Reference in a new issue