Issue #15763: check there is a current device before checking its cursor.
Devices are now listed later in the startup process since issue #13709.
This commit is contained in:
parent
cae3be98df
commit
dda2cc03b1
1 changed files with 1 additions and 1 deletions
|
|
@ -1678,7 +1678,7 @@ gimp_display_shell_check_device_cursor (GimpDisplayShell *shell)
|
|||
|
||||
current_device = gimp_device_manager_get_current_device (manager);
|
||||
|
||||
shell->draw_cursor = ! gimp_device_info_has_cursor (current_device);
|
||||
shell->draw_cursor = (current_device && ! gimp_device_info_has_cursor (current_device));
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Reference in a new issue