toggle grid in map view with CTRL+G
This commit is contained in:
parent
1ece107979
commit
7a84ca872c
1 changed files with 1 additions and 0 deletions
|
@ -73,6 +73,7 @@ void MainWindow::initWindow() {
|
|||
void MainWindow::initExtraShortcuts() {
|
||||
new QShortcut(QKeySequence("Ctrl+Shift+Z"), this, SLOT(redo()));
|
||||
new QShortcut(QKeySequence("Ctrl+0"), this, SLOT(resetMapViewScale()));
|
||||
new QShortcut(QKeySequence("Ctrl+G"), ui->checkBox_ToggleGrid, SLOT(toggle()));
|
||||
ui->actionZoom_In->setShortcuts({QKeySequence("Ctrl++"), QKeySequence("Ctrl+=")});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue