From 0a59338936f57a13b6a42ea1d22a29f4183b95fa Mon Sep 17 00:00:00 2001 From: Alex Dedul Date: Mon, 6 Aug 2007 00:56:27 +0000 Subject: [PATCH] Removed some stale code in interface's update(). --- src/interface.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/interface.py b/src/interface.py index ec241dde2..706207561 100644 --- a/src/interface.py +++ b/src/interface.py @@ -901,16 +901,12 @@ class DelugeGTK: torrent_selection.select_path("0") selection_count = 1 - unique_id = None if selection_count == 1: unique_id = self.get_selected_torrent() self.update_torrent_info_widget(unique_id) else: # selection_count > 1 self.clear_details_pane() - # Update tool buttons below based on the first selected torrent's state - path = torrent_selection.get_selected_rows()[1][0] - unique_id = self.torrent_model.get_value(self.torrent_model.get_iter(path), 0) return True def update_statusbar_and_tray(self):