mirror of
https://github.com/huderlem/porymap.git
synced 2026-10-02 12:56:38 -05:00
toggle grid in map view with CTRL+G
This commit is contained in:
@@ -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+=")});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user