Skip to content

Commit

Permalink
Merge PR #3010: MainWindow: Don't open tooltips when not active
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrautz committed Apr 9, 2017
2 parents db4a591 + 9e7fd2e commit 27189b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mumble/MainWindow.cpp
Expand Up @@ -3161,7 +3161,7 @@ void MainWindow::on_qteLog_highlighted(const QUrl &url) {
if (! url.isValid())
QToolTip::hideText();
else {
if (qApp->activeWindow() != NULL) {
if (isActiveWindow()) {
QToolTip::showText(QCursor::pos(), url.toString(), qteLog, QRect());
}
}
Expand Down

0 comments on commit 27189b6

Please sign in to comment.