mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
fix the header click event handler
This commit is contained in:
parent
0f12200f6f
commit
5b6faa47b0
1 changed files with 2 additions and 2 deletions
|
@ -82,11 +82,11 @@ Deluge.Sidebar = Ext.extend(Ext.Panel, {
|
|||
this.doLayout();
|
||||
this.panels[filter] = panel;
|
||||
|
||||
panel.header.on('click', function(panel) {
|
||||
panel.header.on('click', function(header) {
|
||||
if (!deluge.config.sidebar_multiple_filters) {
|
||||
deluge.ui.update();
|
||||
}
|
||||
if (panel.list.getSelectionCount()) {
|
||||
if (!panel.list.getSelectionCount()) {
|
||||
panel.list.select(0);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue