Oups... Revert my change (See revision 50905)

svn path=/trunk/; revision=50907
This commit is contained in:
Alexis La Goutte 2013-07-26 07:02:12 +00:00
parent 6e5d6b84b9
commit 09dd131320
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}
}