mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
Fix one more possible issue with regard to #1786
This commit is contained in:
parent
49d5ed6bde
commit
5296fc7d4c
1 changed files with 7 additions and 1 deletions
|
@ -627,7 +627,13 @@ class ListView:
|
|||
# Column is not visible, no need to reposition
|
||||
continue
|
||||
|
||||
column_at_position = columns[col_state.position]
|
||||
try:
|
||||
column_at_position = columns[col_state.position]
|
||||
except IndexError:
|
||||
# While updating the multiuser branch, which adds a new column
|
||||
# an IndexError was raised, just continue processing, once
|
||||
# deluge is restarted, it all should be good
|
||||
continue
|
||||
if col_state.name == column_at_position.get_title():
|
||||
# It's in the right position
|
||||
continue
|
||||
|
|
Loading…
Add table
Reference in a new issue