Ticket #307: gtkui_disable_options_tab.patch

File gtkui_disable_options_tab.patch, 632 bytes (added by sadrul, 16 years ago)
  • deluge/ui/gtkui/options_tab.py

     
    6969        # Only use the first torrent in the list or return if None selected
    7070        if len(torrent_id) != 0:
    7171            torrent_id = torrent_id[0]
     72            self._child_widget.set_sensitive(True)
    7273        else:
    7374            # No torrent is selected in the torrentview
     75            self._child_widget.set_sensitive(False)
    7476            return
    7577       
    7678        if torrent_id != self.prev_torrent_id: