src/eric7/VCS/VersionControl.py

branch
eric7
changeset 11013
ad483a12058c
parent 10683
779cda568acb
child 11090
f5f5f5803935
diff -r 8685d10eca0f -r ad483a12058c src/eric7/VCS/VersionControl.py
--- a/src/eric7/VCS/VersionControl.py	Tue Oct 29 14:21:15 2024 +0100
+++ b/src/eric7/VCS/VersionControl.py	Tue Oct 29 19:48:56 2024 +0100
@@ -1045,6 +1045,18 @@
             )
             self.__statusMonitorInfo("")
 
+    def restartStatusMonitor(self, project):
+        """
+        Public method to re-start the VCS status monitor thread.
+
+        @param project reference to the project object
+        @type Project
+        @return reference to the monitor thread
+        @rtype QThread
+        """
+        self.stopStatusMonitor()
+        return self.startStatusMonitor(project)
+
     def setStatusMonitorInterval(self, interval, project):
         """
         Public method to change the monitor interval.

eric ide

mercurial