1
0
Fork 0

Fix #12195: Reset cursor when no Object is selected

pull/12207/head
glx22 2024-03-02 01:38:26 +01:00
parent b53d79b1d2
commit b740ca832e
1 changed files with 2 additions and 0 deletions

View File

@ -441,6 +441,8 @@ public:
if (_selected_object_index != -1) {
SetObjectToPlaceWnd(SPR_CURSOR_TRANSMITTER, PAL_NONE, HT_RECT | HT_DIAGONAL, this);
} else {
ResetObjectToPlace();
}
this->UpdateButtons(_selected_object_class, _selected_object_index, _selected_object_view);