diff options
Diffstat (limited to 'client/widgets')
| -rw-r--r-- | client/widgets/combobox.cc | 4 | ||||
| -rw-r--r-- | client/widgets/widget.cc | 1 | 
2 files changed, 1 insertions, 4 deletions
| diff --git a/client/widgets/combobox.cc b/client/widgets/combobox.cc index c426e41..ea8a239 100644 --- a/client/widgets/combobox.cc +++ b/client/widgets/combobox.cc @@ -141,10 +141,6 @@ ComboBox::ComboBox(QDomNode &node, MacroWindow *macrowindow)      connect(combobox, SIGNAL(editTextChanged(QString)), this, SLOT(changed()));      break;    } - -  ischangingbyuser = false; -  changed(); -  ischangingbyuser = true;  }  ComboBox::~ComboBox() diff --git a/client/widgets/widget.cc b/client/widgets/widget.cc index 563f648..2e0bd2b 100644 --- a/client/widgets/widget.cc +++ b/client/widgets/widget.cc @@ -234,6 +234,7 @@ void Widget::addChildren(QDomNode &node, QLayout *layout)  void Widget::setValues()  {    if(has_lazy) setValue(lazy_value, lazy_source); +  else eventOnChange(); // Make sure we run validation on the unset widget.    QVector< Widget* >::iterator i = children.begin();    while(i != children.end()) { | 
