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

Dmitry Kazakov <dimul...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap
                   |hics/krita/commit/b00b00637 |hics/krita/commit/732efefbf
                   |a423dd7ad3b945ddb1db2f00915 |5429af120f20a3328723ec1330e
                   |3982                        |299a

--- Comment #5 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit 732efefbf5429af120f20a3328723ec1330e299a by Dmitry Kazakov.
Committed on 13/12/2021 at 16:21.
Pushed by dkazakov into branch 'krita/5.0'.

Fix updates of the model when the resource is overridden during import

Now KisResourceLocator emits all the signals that are needed to override
the resource. Theoretically, we could emit item-moved signal instead of
remove+add pair. It would probably handle selection better. Though I'm
not sure if it will actually work, because the newly added resource **is**
different from the first one. So, technically, we would need to emit
move+change pair. I don't want to try that right now :)

M  +10   -2    libs/resources/KisResourceLocator.cpp
M  +6    -0    libs/resources/KisResourceLocator.h
M  +28   -35   libs/resources/KisResourceModel.cpp
M  +12   -0    libs/resources/KisResourceModel.h
M  +16   -1    libs/resourcewidgets/KisResourceItemChooser.cpp

https://invent.kde.org/graphics/krita/commit/732efefbf5429af120f20a3328723ec1330e299a

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

Reply via email to