https://bugs.kde.org/show_bug.cgi?id=391614

Robby Stephenson <ro...@periapsis.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
   Version Fixed In|                            |3.1.2
             Status|UNCONFIRMED                 |RESOLVED
      Latest Commit|                            |https://commits.kde.org/tel
                   |                            |lico/406b3cd1655fa053b822a9
                   |                            |914ad978e55d0dc3ee

--- Comment #1 from Robby Stephenson <ro...@periapsis.org> ---
Git commit 406b3cd1655fa053b822a9914ad978e55d0dc3ee by Robby Stephenson.
Committed on 18/03/2018 at 22:23.
Pushed by rstephenson into branch '3.1'.

Clear the selection when the model is reset

Per Qt documentation, reseting a model does not signal a change in the
selection. Connect the primary selection proxy model to the
modelAboutToBeReset signal to catch the selection change.

This was an existing bug in versions prior to 3.1.1 but did not
manifest since a QSet was use to track selected entries and duplicates
were automatically prevented. Once a QList was used to retain the
selection ordering, the bug showed up.
FIXED-IN: 3.1.2

M  +1    -0    src/controller.cpp
M  +3    -0    src/mainwindow.cpp
M  +6    -1    src/models/entryselectionmodel.cpp
M  +1    -0    src/models/entryselectionmodel.h
M  +58   -0    src/tests/tellicomodeltest.cpp
M  +1    -0    src/tests/tellicomodeltest.h

https://commits.kde.org/tellico/406b3cd1655fa053b822a9914ad978e55d0dc3ee

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to