mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-17 13:56:47 +00:00
Fix one more possible issue with regard to #1786
This commit is contained in:
parent
49d5ed6bde
commit
5296fc7d4c
@ -627,7 +627,13 @@ class ListView:
|
|||||||
# Column is not visible, no need to reposition
|
# Column is not visible, no need to reposition
|
||||||
continue
|
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():
|
if col_state.name == column_at_position.get_title():
|
||||||
# It's in the right position
|
# It's in the right position
|
||||||
continue
|
continue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user