Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquetc committed Nov 19, 2022
2 parents c024273 + 041c028 commit 29d4e9a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/libskribisto-data/src/skrtreehub.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ SKRTreeHub::SKRTreeHub(QObject *parent) : QObject(parent), m_tableName("tbl_tree
connect(this, &SKRTreeHub::treeItemRemoved, this, &SKRTreeHub::resetCacheByAddress);
connect(this, &SKRTreeHub::treeItemMoved, this, [this](QList<TreeItemAddress> sourceTreeItemAddresses,
const TreeItemAddress &targetTreeItemAddress){
if(!sourceTreeItemAddresses.isEmpty()){
this->resetCache(sourceTreeItemAddresses.first().projectId);
}
});
connect(this, &SKRTreeHub::allValuesChanged, this, &SKRTreeHub::resetCacheByAddress);

Expand Down

0 comments on commit 29d4e9a

Please sign in to comment.