Commit 29a7f5cd authored by Daniel Brötzmann's avatar Daniel Brötzmann Committed by Philipp Hörist

RosterWindow: Fix Index out of range

Currently, detecting a file drop on the roster window is not recognized
correctly. This fix avoids an Index error thrown after dropping a file
on the roster by checking if there is a selection before continuing.
parent 062b62db
Pipeline #3572 passed with stages
in 2 minutes and 42 seconds
......@@ -4252,6 +4252,10 @@ class RosterWindow:
# Check if something is selected
if treeview.get_selection().count_selected_rows() == 0:
# a roster entry was dragged and dropped somewhere in the roster
# source: the row that was dragged
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment