Skip to content

Commit

Permalink
Merge pull request #1582 from yestalgia/fix/addfixture-highlight-search
Browse files Browse the repository at this point in the history
Fix: Highlight the searchbar when first opening the addfixture dialogue.
  • Loading branch information
mcallegari authored Jun 11, 2024
2 parents 239b271 + 2089311 commit 3424652
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ui/src/addfixture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ AddFixture::AddFixture(QWidget* parent, const Doc* doc, const Fixture* fxi)
if (var.isValid() == true)
restoreGeometry(var.toByteArray());
AppUtil::ensureWidgetIsVisible(this);

// Set focus on the search bar
m_searchEdit->setFocus();
}

AddFixture::~AddFixture()
Expand Down

0 comments on commit 3424652

Please sign in to comment.