Setting Application.Busy now displays the busy cursor correctly again.

[GB.GTK]
* BUG: Setting Application.Busy now displays the busy cursor correctly again.

[GB.GTK3]
* BUG: Setting Application.Busy now displays the busy cursor correctly again.
This commit is contained in:
gambas 2022-01-04 16:09:29 +01:00
parent d10aa23ffb
commit 0fccd1d5ee

View file

@ -1053,7 +1053,7 @@ GdkCursor *gControl::getGdkCursor()
int m = _mouse;
if (gApplication::isBusy())
m = GDK_WATCH;
m = CURSOR_WAIT;
if (m == CURSOR_CUSTOM)
{
@ -1119,14 +1119,8 @@ void gControl::setMouse(int m)
return;
}
/*if (m == CURSOR_CUSTOM)
{
if (!curs || !curs->cur)
m = CURSOR_DEFAULT;
}*/
//fprintf(stderr, "setMouse: %s\n", name());
_mouse = m;
updateCursor(getGdkCursor());
}