Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When new photo is added to view it should appear in right place #5

Closed
Kicer86 opened this issue Oct 16, 2014 · 0 comments
Closed

When new photo is added to view it should appear in right place #5

Kicer86 opened this issue Oct 16, 2014 · 0 comments

Comments

@Kicer86
Copy link
Owner

Kicer86 commented Oct 16, 2014

When new node (IdxData) is dynamically added, move it to right position (sorted).
Currently new photos are added at the end

@Kicer86 Kicer86 changed the title When new photo is added to view it should appera in right place When new photo is added to view it should appear in right place Oct 28, 2014
@Kicer86 Kicer86 added this to the version 1.0 requirements milestone Jan 10, 2015
@Kicer86 Kicer86 self-assigned this Feb 23, 2015
@Kicer86 Kicer86 closed this as completed Mar 13, 2015
Kicer86 added a commit that referenced this issue Jun 29, 2019
#0 raise() at /usr/lib/libc.so.6
#1 abort() at /usr/lib/libc.so.6
#2 __assert_fail_base.cold() at /usr/lib/libc.so.6
#3 __assert_fail() at /usr/lib/libc.so.6
#4 DBDataModel::index() at /home/michal/projects/sources/broom/src/gui/desktop/models/db_data_model.cpp:313
#5 QAbstractItemModel::sibling(int, int, QModelIndex const&) const() at /usr/lib/libQt5Core.so.5
#6 QModelIndex::sibling() at /usr/include/qt/QtCore/qabstractitemmodel.h:444
#7 Data::getTopOf() at /home/michal/projects/sources/broom/src/gui/desktop/views/view_impl/data.cpp:359
#8 ImagesTreeView::moveCursor() at /home/michal/projects/sources/broom/src/gui/desktop/views/images_tree_view.cpp:177

Data::getTopOf() was asking for index with negative row (which
is +- ok). DBDataModel::index() was not ready for it.
Kicer86 added a commit that referenced this issue Jun 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant