Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-12011

isModified always returns false if apply a validator to the QLineEdit and if the validator changes the text

    XMLWordPrintable

Details

    Description

      If the following validator is set to the QLineEdit, isModified always return false.

      Here is the validator can be used to reproduce the problem:
      class UpperValidator : public QValidator
      {
      public:
      UpperValidator(QObject * parent) : QValidator(parent) {};
      ~UpperValidator() {};
      virtual State validate ( QString & input, int & pos ) const
      {
      input = input.toUpper();
      return Acceptable;
      };
      };

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            sanonymous Nokia Qt Support (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes