Skip to content

Commit

Permalink
Merge pull request #4128 from ronso0/waveforms-no-focus
Browse files Browse the repository at this point in the history
prohibit WWaveformViewer getting focused
  • Loading branch information
Holzhaus committed Jul 23, 2021
2 parents 0fb764a + 0bd9514 commit 3546054
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/widget/wwaveformviewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ WWaveformViewer::WWaveformViewer(
m_pPlayEnabled = new ControlProxy(group, "play", this, ControlFlag::NoAssertIfMissing);

setAttribute(Qt::WA_OpaquePaintEvent);
setFocusPolicy(Qt::NoFocus);
}

WWaveformViewer::~WWaveformViewer() {
Expand Down

0 comments on commit 3546054

Please sign in to comment.