+ if ((s.ftype == f_DropDown) &&
+ (s.fid == event.GUIEvent.Caller->getID())) {
+ // only send the changed dropdown
+ for(u32 i=0; i<m_fields.size(); i++) {
+ FieldSpec &s2 = m_fields[i];
+ if (s2.ftype == f_DropDown) {
+ s2.send = false;
+ }
+ }
+ s.send = true;
+ acceptInput(quit_mode_no);
+
+ // revert configuration to make sure dropdowns are sent on
+ // regular button click
+ for(u32 i=0; i<m_fields.size(); i++) {
+ FieldSpec &s2 = m_fields[i];
+ if (s2.ftype == f_DropDown) {
+ s2.send = true;
+ }
+ }
+ return true;
+ }