diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-06-12 22:58:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-12 22:58:09 +0200 |
commit | 1a9a2c879adbcad2eb2ebac0e0c6a081bcc6310c (patch) | |
tree | 8c6d249cc180d10fd0582643210d0edcdcfbc675 | |
parent | 1c35973b837d5bf0cb16176e922d505fe4baff51 (diff) | |
parent | 307fe76089c8bbbb1371cb5578a5a3bb2f7faef0 (diff) |
Merge pull request #29645 from YeldhamDev/create_dialog_reselect
Allow reselecting items in the "Favorites" and "Recent" lists in the create dialog
-rw-r--r-- | editor/create_dialog.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/create_dialog.cpp b/editor/create_dialog.cpp index aab8cf7d0b..e84602b29f 100644 --- a/editor/create_dialog.cpp +++ b/editor/create_dialog.cpp @@ -730,6 +730,7 @@ CreateDialog::CreateDialog() { fav_vb->add_margin_child(TTR("Favorites:"), favorites, true); favorites->set_hide_root(true); favorites->set_hide_folding(true); + favorites->set_allow_reselect(true); favorites->connect("cell_selected", this, "_favorite_selected"); favorites->connect("item_activated", this, "_favorite_activated"); favorites->set_drag_forwarding(this); @@ -744,6 +745,7 @@ CreateDialog::CreateDialog() { rec_vb->add_margin_child(TTR("Recent:"), recent, true); recent->set_hide_root(true); recent->set_hide_folding(true); + recent->set_allow_reselect(true); recent->connect("cell_selected", this, "_history_selected"); recent->connect("item_activated", this, "_history_activated"); recent->add_constant_override("draw_guides", 1); |