From d67e3668556a9127820fe66e9fd731fa76026c2b Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Wed, 9 Dec 2020 16:54:57 -0500 Subject: [PATCH] run callback from pulldowns too --- src/gui/options/options.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/options/options.js b/src/gui/options/options.js index b5fda9d20ff..42ed4966c6f 100644 --- a/src/gui/options/options.js +++ b/src/gui/options/options.js @@ -277,6 +277,10 @@ App.UI.OptionsGroup = (function() { } else { this.object[this.property] = Number(O.value); } + const originalObj = this.valuePairs.find(obj => obj.value == O.value); + if (originalObj) { + originalObj.callback(); + } App.UI.reload(); }; buttonGroup.append(select); -- GitLab