mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-06 08:28:39 +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
|
# Column is not visible, no need to reposition
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
try:
|
||||||
column_at_position = columns[col_state.position]
|
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():
|
if col_state.name == column_at_position.get_title():
|
||||||
# It's in the right position
|
# It's in the right position
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue