changeset 429:cebf657d78ef

core (menu): fixed transfer callback arguments order
author Goffi <goffi@goffi.org>
date Sun, 01 Mar 2020 22:11:25 +0100
parents 85fc3da9560c
children edb240ff7936
files cagou/core/menu.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cagou/core/menu.py	Sun Mar 01 22:11:25 2020 +0100
+++ b/cagou/core/menu.py	Sun Mar 01 22:11:25 2020 +0100
@@ -263,7 +263,7 @@
     def updateTransferInfo(self):
         self.transfer_info.text = self.getTransferInfo()
 
-    def _onTransferCb(self, file_path, external, wid_cont, cleaning_cb=None):
+    def _onTransferCb(self, file_path, cleaning_cb=None, external=False, wid_cont=None):
         if not external:
             wid = wid_cont[0]
             self._closeUI(wid)