mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
[2374][WebUI] Fix right-click selection issue
This commit is contained in:
parent
018330c92c
commit
e8aee7327b
1 changed files with 1 additions and 1 deletions
|
@ -306,7 +306,7 @@
|
|||
this.on('rowcontextmenu', function(grid, rowIndex, e) {
|
||||
e.stopEvent();
|
||||
var selection = grid.getSelectionModel();
|
||||
if (!selection.hasSelection()) {
|
||||
if (!selection.isSelected(rowIndex)) {
|
||||
selection.selectRow(rowIndex);
|
||||
}
|
||||
deluge.menus.torrent.showAt(e.getPoint());
|
||||
|
|
Loading…
Add table
Reference in a new issue