Skip to content

Commit

Permalink
Fixed issues where keyboard shortcuts did not activate map window.
Browse files Browse the repository at this point in the history
  • Loading branch information
albar965 committed Feb 8, 2019
1 parent 4be6588 commit 48a5730
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/mainwindow.cpp
Expand Up @@ -1310,6 +1310,7 @@ void MainWindow::actionShortcutMapTriggered()
ui->dockWidgetMap->activateWindow();
raiseFloatingWindow(ui->dockWidgetMap);
}
mapWidget->activateWindow();
mapWidget->setFocus();
}

Expand All @@ -1319,6 +1320,7 @@ void MainWindow::actionShortcutProfileTriggered()
ui->dockWidgetProfile->show();
ui->dockWidgetProfile->activateWindow();
ui->dockWidgetProfile->raise();
profileWidget->activateWindow();
profileWidget->setFocus();
}

Expand Down

0 comments on commit 48a5730

Please sign in to comment.