Use correct function for setting cursorMapTileRect visibility

This commit is contained in:
BigBahss 2020-09-14 21:06:04 -04:00 committed by huderlem
parent 457cd1bb85
commit 502ebd449f

View file

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