Commit 3e592c98 authored by Philipp Hörist's avatar Philipp Hörist

Only make pause button active on pause-able transfers

parent 0d8c0087
......@@ -70,8 +70,7 @@ class FileTransfersWindow:
'notify_ft_complete_checkbox')
shall_notify = gajim.config.get('notify_on_file_complete')
self.notify_ft_checkbox.set_active(shall_notify
)
self.notify_ft_checkbox.set_active(shall_notify)
self.model = Gtk.ListStore(GdkPixbuf.Pixbuf, str, str, str, str, int,
int, str)
self.tree.set_model(self.model)
......@@ -841,7 +840,7 @@ class FileTransfersWindow:
if not is_row_selected:
# no selection, disable the buttons
self.set_all_insensitive()
elif not is_stopped:
elif not is_stopped and file_props.continue_cb:
if is_transfer_active(file_props):
# file transfer is active
self.toggle_pause_continue(True)
......
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