From c721fad54bd83c4fcd6ab2e35199543276c0ab20 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sat, 22 Nov 2008 14:05:22 +0000 Subject: [PATCH] - Fixed ratio column sorting --- src/FinishedTorrents.cpp | 1 + src/downloadingTorrents.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/src/FinishedTorrents.cpp b/src/FinishedTorrents.cpp index 5e6ae46b4..b34caab2f 100644 --- a/src/FinishedTorrents.cpp +++ b/src/FinishedTorrents.cpp @@ -582,6 +582,7 @@ void FinishedTorrents::toggleFinishedListSortOrder(int index) { switch(index) { case F_SIZE: case F_UPSPEED: + case F_RATIO: sortFinishedListFloat(index, sortOrder); break; default: diff --git a/src/downloadingTorrents.cpp b/src/downloadingTorrents.cpp index 2ff5840bc..a7ac852fb 100644 --- a/src/downloadingTorrents.cpp +++ b/src/downloadingTorrents.cpp @@ -678,6 +678,7 @@ void DownloadingTorrents::toggleDownloadListSortOrder(int index) { case DLSPEED: case PROGRESS: case PRIORITY: + case RATIO: sortDownloadListFloat(index, sortOrder); break; default: