From 01cc2322e8e7f849ddc805e3aaba42d44c08dcd6 Mon Sep 17 00:00:00 2001 From: csoler Date: Mon, 12 Feb 2018 22:39:11 +0100 Subject: [PATCH] fixed appearing false line in Transfers --- retroshare-gui/src/gui/FileTransfer/TransfersDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/FileTransfer/TransfersDialog.cpp b/retroshare-gui/src/gui/FileTransfer/TransfersDialog.cpp index dfe8bae9c..fad3b382c 100644 --- a/retroshare-gui/src/gui/FileTransfer/TransfersDialog.cpp +++ b/retroshare-gui/src/gui/FileTransfer/TransfersDialog.cpp @@ -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) ;