summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorMax Hilbrunner <mhilbrunner@users.noreply.github.com>2018-07-18 16:20:57 +0200
committerGitHub <noreply@github.com>2018-07-18 16:20:57 +0200
commitce53876a444974d091da8a3ba77e16101ed2ff67 (patch)
tree77f13ec20e33a006e1cf31864020bb04fad0d7ee /scene/gui
parente064eea940ff1da774f81afed21bfcdd499749f4 (diff)
parent13239cd4cc271ba4ccac59a060012129829dfc5f (diff)
Merge pull request #20242 from akien-mga/export-preset-reload
Export: Properly reload preset when opening dialog
Diffstat (limited to 'scene/gui')
-rw-r--r--scene/gui/item_list.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/item_list.cpp b/scene/gui/item_list.cpp
index 72ed0e9b81..aa52739b0a 100644
--- a/scene/gui/item_list.cpp
+++ b/scene/gui/item_list.cpp
@@ -285,7 +285,7 @@ void ItemList::unselect_all() {
items[i].selected = false;
}
-
+ current = -1;
update();
}