Re: [mitk-users] QSortFilterProxyModel bugfix and node deletion performance

2014-10-09 Thread Müller , Michael
the issue you reported in the previous mail below. Best Michael Von: Rostislav Khlebnikov [mailto:rostislav.khlebni...@kcl.ac.uk] Gesendet: Dienstag, 2. September 2014 17:08 An: Müller, Michael Cc: mitk-users Betreff: Re: [mitk-users] QSortFilterProxyModel bugfix and node deletion performance

[mitk-users] QSortFilterProxyModel bugfix and node deletion performance

2014-09-02 Thread Rostislav Khlebnikov
Hello Michael, it seems as if there is a bug in my contribution (VERY obscure one - took me several days to figure it out). Basically, when several nodes are deleted by the user, selectionChanged() signal is emitted after the first of the nodes is removed. This leads to setting the selected

Re: [mitk-users] QSortFilterProxyModel bugfix and node deletion performance

2014-09-02 Thread Rostislav Khlebnikov
Additionally, seems a similar bug was reported in Qt quite a while ago, but no action was taken because the bug reporter didn't provide enough information: https://bugreports.qt-project.org/browse/QTBUG-27289 And also, while searching for the reason for crash, I made a test where I basically