Fix regression: problems in the preferences and theme selection

The mouse cursor dissapears when "Apply" button is pressed or when a
new window appers.
This commit is contained in:
Martín Capello 2021-03-29 16:07:12 -03:00 committed by David Capello
parent 0396e80fce
commit 734d3bace6

View File

@ -249,7 +249,6 @@ UISystem::~UISystem()
void _internal_set_mouse_display(Display* display)
{
CursorType cursor = get_mouse_cursor();
set_mouse_cursor(kNoCursor);
mouse_display = display;
if (display)
set_mouse_cursor(cursor); // Restore mouse cursor