forked from osmocom/wireshark
Oups... Revert my change (See revision 50905)
svn path=/trunk/; revision=50907
This commit is contained in:
parent
6e5d6b84b9
commit
09dd131320
|
@ -368,6 +368,7 @@ void UatDialog::stringPrefTextChanged(const QString &text)
|
|||
uat_field_t *field = &uat_->fields[cur_column_];
|
||||
const char *txt = text.toUtf8().constData();
|
||||
const char *err = NULL;
|
||||
bool enable_ok = true;
|
||||
SyntaxLineEdit::SyntaxState ss = SyntaxLineEdit::Empty;
|
||||
|
||||
if (field->cb.chk) {
|
||||
|
@ -376,6 +377,7 @@ void UatDialog::stringPrefTextChanged(const QString &text)
|
|||
saved_string_pref_ = text;
|
||||
ss = SyntaxLineEdit::Valid;
|
||||
} else {
|
||||
enable_ok = false;
|
||||
ss = SyntaxLineEdit::Invalid;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue