From 57ea5ef5da5de760b4a4e3a54498304e72d4b9d4 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Mon, 24 Sep 2018 15:13:35 +0100 Subject: [PATCH] [GTK] Set default file priority to 4 in add dialog --- deluge/ui/gtkui/addtorrentdialog.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deluge/ui/gtkui/addtorrentdialog.py b/deluge/ui/gtkui/addtorrentdialog.py index 9420f281b..bb588cdbd 100644 --- a/deluge/ui/gtkui/addtorrentdialog.py +++ b/deluge/ui/gtkui/addtorrentdialog.py @@ -535,7 +535,8 @@ class AddTorrentDialog(component.Component): if not file_dict['download']: files_list.append(0) else: - files_list.append(1) + # Default lt file priority is 4 + files_list.append(4) return files_list