Use correct function for setting cursorMapTileRect visibility
This commit is contained in:
parent
457cd1bb85
commit
502ebd449f
1 changed files with 1 additions and 1 deletions
|
@ -1377,7 +1377,7 @@ void MainWindow::on_actionCursor_Tile_Outline_triggered()
|
||||||
porymapConfig.setShowCursorTile(enabled);
|
porymapConfig.setShowCursorTile(enabled);
|
||||||
this->editor->settings->cursorTileRectEnabled = enabled;
|
this->editor->settings->cursorTileRectEnabled = enabled;
|
||||||
if (this->editor->map_item->has_mouse) {
|
if (this->editor->map_item->has_mouse) {
|
||||||
this->editor->cursorMapTileRect->setVisible(enabled);
|
this->editor->cursorMapTileRect->setVisibility(enabled);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue