1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-04 17:04:49 +00:00

Fix cursor shape in the quick open dialog

This commit is contained in:
Giganzo
2025-11-11 21:25:17 +01:00
parent 2cc031f3a3
commit 189e2767a7

View File

@@ -277,7 +277,6 @@ void EditorQuickOpenDialog::_search_box_text_changed(const String &p_query) {
void style_button(Button *p_button) { void style_button(Button *p_button) {
p_button->set_flat(true); p_button->set_flat(true);
p_button->set_focus_mode(Control::FOCUS_ACCESSIBILITY); p_button->set_focus_mode(Control::FOCUS_ACCESSIBILITY);
p_button->set_default_cursor_shape(Control::CURSOR_POINTING_HAND);
} }
QuickOpenResultContainer::QuickOpenResultContainer() { QuickOpenResultContainer::QuickOpenResultContainer() {
@@ -1021,7 +1020,6 @@ void QuickOpenResultContainer::_bind_methods() {
QuickOpenResultItem::QuickOpenResultItem() { QuickOpenResultItem::QuickOpenResultItem() {
set_focus_mode(FocusMode::FOCUS_NONE); set_focus_mode(FocusMode::FOCUS_NONE);
_set_enabled(false); _set_enabled(false);
set_default_cursor_shape(CURSOR_POINTING_HAND);
list_item = memnew(QuickOpenResultListItem); list_item = memnew(QuickOpenResultListItem);
list_item->hide(); list_item->hide();