fixed appearing false line in Transfers

This commit is contained in:
csoler 2018-02-12 22:39:11 +01:00
parent 8afa127ed5
commit 01cc2322e8
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C

View File

@ -154,7 +154,7 @@ public:
if(!ref) // top level. The entry is that of a transfer
{
if(!convertTabEntryToRefPointer(row,-1,subref))
if(row >= mDownloads.size() || !convertTabEntryToRefPointer(row,-1,subref))
return QModelIndex() ;
return createIndex(row,column,subref) ;