toggle grid in map view with CTRL+G

This commit is contained in:
garak 2020-01-15 20:44:01 -05:00
parent 1ece107979
commit 7a84ca872c

View file

@ -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+=")});
}