diff --git a/src/GUI.cpp b/src/GUI.cpp
index 6cdf37bb3..829f3cea5 100644
--- a/src/GUI.cpp
+++ b/src/GUI.cpp
@@ -533,7 +533,7 @@ void GUI::updateDlList(bool force){
if(systrayIntegration){
myTrayIcon->setToolTip(""+tr("qBittorrent")+"
"+tr("DL speed: %1 KiB/s", "e.g: Download speed: 10 KiB/s").arg(QString(tmp2))+"
"+tr("UP speed: %1 KiB/s", "e.g: Upload speed: 10 KiB/s").arg(QString(tmp))); // tray icon
}
- if(tabs->currentIndex() == 1){
+ if(getCurrentTabIndex() == 1){
finishedTorrentTab->updateFinishedList();
return;
}