From a23526a9aad2671538875207bd2e26268b441a7f Mon Sep 17 00:00:00 2001 From: upstream svn Date: Sun, 22 May 2011 12:28:24 +0000 Subject: [PATCH] amulegui: update transfer rate when it is received, not when it is requested --- .svn-revision | 2 +- src/amule-remote-gui.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.svn-revision b/.svn-revision index 3d644fe9..9acb986c 100644 --- a/.svn-revision +++ b/.svn-revision @@ -1 +1 @@ -10568 +10569 diff --git a/src/amule-remote-gui.cpp b/src/amule-remote-gui.cpp index 5cc85bc0..08eb1e20 100644 --- a/src/amule-remote-gui.cpp +++ b/src/amule-remote-gui.cpp @@ -159,7 +159,6 @@ void CamuleRemoteGuiApp::OnPollTimer(wxTimerEvent&) case 1: { CECPacket stats_req(EC_OP_STAT_REQ); m_connect->SendRequest(&m_stats_updater, &stats_req); - amuledlg->ShowTransferRate(); request_step++; break; } @@ -2078,6 +2077,7 @@ const CSearchResultList& CSearchListRem::GetSearchResults(long nSearchID) void CStatsUpdaterRem::HandlePacket(const CECPacket *packet) { theStats::UpdateStats(packet); + theApp->amuledlg->ShowTransferRate(); theApp->ShowUserCount(); // maybe there should be a check if a usercount changed ? } -- 2.11.4.GIT