Gui: fix tree view lingering sub element selection

This commit is contained in:
Zheng, Lei
2019-09-17 20:29:15 +08:00
committed by wmayer
parent ae067d7a58
commit eb4dbd56a7

View File

@@ -4169,6 +4169,7 @@ void DocumentItem::selectItems(bool sync) {
// this means it is the old selection and is not in the current
// selection
item->selected = 0;
item->mySubs.clear();
item->setSelected(false);
}else if(item->selected) {
if(item->selected == 2) {