Skip to content

Commit a9e17d6

Browse files
gui: another entry tree crash fix
1 parent 43aa014 commit a9e17d6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/gui/EntryTree.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -206,10 +206,6 @@ QModelIndex EntryTreeModel::parent(const QModelIndex& index) const {
206206
}
207207

208208
int EntryTreeModel::rowCount(const QModelIndex& parent) const {
209-
if (!parent.isValid() && this->root()->children().empty()) {
210-
// No pack file loaded
211-
return 0;
212-
}
213209
if (!parent.isValid()) {
214210
return 1;
215211
}

0 commit comments

Comments
 (0)