Crash when double clicking download row
jasonthronson99 opened this issue · comments
Nicotine+ Version: 3.3.2
GTK Version: 4.12.5
Python Version: 3.11.8 (linux)
Type: <class 'UnboundLocalError'>
Value: cannot access local variable 'folder_path' where it is not associated with a value
Traceback: File "/usr/lib/python3/dist-packages/pynicotine/gtkgui/widgets/treeview.py", line 661, in on_activate_row
callback(self, self.model.get_iter(path), column.id)
File "/usr/lib/python3/dist-packages/pynicotine/gtkgui/transfers.py", line 950, in on_row_activated
self.on_open_file_manager()
File "/usr/lib/python3/dist-packages/pynicotine/gtkgui/downloads.py", line 190, in on_open_file_manager
open_folder_path(folder_path)
^^^^^^^^^^^
How to reproduce:
- Select a download
- Hold down Ctrl key
- Double-click the download
This is fixed in 3.3.3rc2 https://nicotine-plus.org/doc/TESTING.html