parent
a8787d1ae5
commit
1ec8f59397
|
@ -916,6 +916,8 @@ public:
|
||||||
icon = nullptr;
|
icon = nullptr;
|
||||||
icon_needs_reload = true;
|
icon_needs_reload = true;
|
||||||
hover = false;
|
hover = false;
|
||||||
|
|
||||||
|
set_focus_mode(FocusMode::FOCUS_ALL);
|
||||||
}
|
}
|
||||||
|
|
||||||
void set_is_favorite(bool fav) {
|
void set_is_favorite(bool fav) {
|
||||||
|
@ -1739,6 +1741,10 @@ void ProjectList::_panel_input(const Ref<InputEvent> &p_ev, Node *p_hb) {
|
||||||
select_project(clicked_index);
|
select_project(clicked_index);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (_selected_project_keys.has(clicked_project.project_key)) {
|
||||||
|
clicked_project.control->grab_focus();
|
||||||
|
}
|
||||||
|
|
||||||
emit_signal(SIGNAL_SELECTION_CHANGED);
|
emit_signal(SIGNAL_SELECTION_CHANGED);
|
||||||
|
|
||||||
if (!mb->get_control() && mb->is_doubleclick()) {
|
if (!mb->get_control() && mb->is_doubleclick()) {
|
||||||
|
|
Loading…
Reference in New Issue