Fix #12195: Reset cursor when no Object is selected (#12207)

pull/678/head
Loïc Guilloux 2 months ago committed by GitHub
parent b53d79b1d2
commit 253ba0d354
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save