PopupMultiChoiceDynamic: Check that valueStr_ isn't null before writing to it. Don't see how this happened.

This commit is contained in:
Henrik Rydgård committed 2023-05-04 08:59:12 +02:00
1 parent a132b72ba1
commit 3148a8a437
1 file changed
+3 -1
+3 -1
View File
@@ -272,7 +272,9 @@ public:
protected:
void PostChoiceCallback(int num) override {
*valueStr_ = choices_[num];
if (valueStr_) {
*valueStr_ = choices_[num];
}
}
private: