eric6/Plugins/VcsPlugins/vcsPySvn/SvnPropListDialog.py

changeset 8222
5994b80b8760
parent 8220
006ee31b4835
--- a/eric6/Plugins/VcsPlugins/vcsPySvn/SvnPropListDialog.py	Sun Apr 11 16:53:48 2021 +0200
+++ b/eric6/Plugins/VcsPlugins/vcsPySvn/SvnPropListDialog.py	Sun Apr 11 18:45:10 2021 +0200
@@ -128,10 +128,12 @@
                         for propName, propVal in list(prop.items()):
                             self.__generateItem(path, propName, propVal)
                             self.propsFound = True
-                        if counter % 30 == 0:
+                        if (
+                            counter % 30 == 0 and
+                            self._clientCancelCallback()
+                        ):
                             # check for cancel every 30 items
-                            if self._clientCancelCallback():
-                                break
+                            break
                     if self._clientCancelCallback():
                         break
             except pysvn.ClientError as e:

eric ide

mercurial