From 502ebd449f78dcf67838bfe70f176d2c9a1ef2a9 Mon Sep 17 00:00:00 2001 From: BigBahss Date: Mon, 14 Sep 2020 21:06:04 -0400 Subject: [PATCH] Use correct function for setting cursorMapTileRect visibility --- src/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index ee1bd97e..d98ed68a 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1377,7 +1377,7 @@ void MainWindow::on_actionCursor_Tile_Outline_triggered() porymapConfig.setShowCursorTile(enabled); this->editor->settings->cursorTileRectEnabled = enabled; if (this->editor->map_item->has_mouse) { - this->editor->cursorMapTileRect->setVisible(enabled); + this->editor->cursorMapTileRect->setVisibility(enabled); } }