label: Don't update cursor after unsetting select_info

update_cursor() doesn't do anything in the priv->select_info == NULL
case.
This commit is contained in:
Timm Bäder 2019-09-26 05:36:49 +02:00
parent d8b0a78c1e
commit 3f3c8436c5

View File

@ -5146,7 +5146,6 @@ gtk_label_set_selectable (GtkLabel *label,
priv->select_info->selectable = FALSE;
gtk_label_clear_select_info (label);
gtk_label_update_cursor (label);
}
}
if (setting != old_setting)