diff options
| author | Tannin <devnull@localhost> | 2013-03-22 18:57:45 +0100 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2013-03-22 18:57:45 +0100 |
| commit | ec0ea9df8dabe686d3256665c7ed638660309915 (patch) | |
| tree | 39ff86ad325494c3531c159990ee695e84bee469 /src/categoriesdialog.cpp | |
| parent | 24cc3861912cc33235af587d4f4feb538c1054dc (diff) | |
| parent | 74c75e60d67b66a63225239c1f6b1403662857aa (diff) | |
Merge with default
Diffstat (limited to 'src/categoriesdialog.cpp')
| -rw-r--r-- | src/categoriesdialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/categoriesdialog.cpp b/src/categoriesdialog.cpp index 21e1a5aa..c7f03740 100644 --- a/src/categoriesdialog.cpp +++ b/src/categoriesdialog.cpp @@ -86,7 +86,8 @@ public: { QLineEdit *edit = qobject_cast<QLineEdit*>(editor); int pos = 0; - if (m_Validator->validate(edit->text(), pos) == QValidator::Acceptable) { + QString editText = edit->text(); + if (m_Validator->validate(editText, pos) == QValidator::Acceptable) { QItemDelegate::setModelData(editor, model, index); } } |
