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

Can't use wrapper with combobox to view|save with non integer key value

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • 4.6.2
    • None

      mapper->addMapping(typeComboBox, 2, "currentIndex") works if I want save index of the value. But what if my key value is not integer?
      I works with database table where primary key is GUID and want to map values by it.
      And I don't need to save current text of combobox, I need to save key value mapper->addMapping(typeComboBox, 2, "currentText") doesn't work too

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

            monsen Marius Bugge Monsen
            cdsmika Tseluyko Dmitriy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes