UI/UserInterface.py

changeset 5759
b9369969b8ce
parent 5743
630a68372016
child 5773
899700885725
child 5841
f227183ae1df
--- a/UI/UserInterface.py	Fri Jun 09 20:07:45 2017 +0200
+++ b/UI/UserInterface.py	Thu Jun 15 15:02:00 2017 +0200
@@ -6539,9 +6539,20 @@
                             self.tr(
                                 """You are using the latest version of"""
                                 """ eric6"""))
+            elif VersionOnly.startswith(("rev_", "@@")):
+                if self.manualUpdatesCheck:
+                    E5MessageBox.information(
+                        self,
+                        self.tr("Update Check"),
+                        self.tr(
+                            """You installed eric directly from the source"""
+                            """ code. There is no possibility to check"""
+                            """ for the availability of an update."""))
             else:
                 # check release version
-                if versions[0] > VersionOnly:
+                installedVersionTuple = self.__versionToTuple(VersionOnly)
+                availableVersionTuple = self.__versionToTuple(versions[0])
+                if availableVersionTuple > installedVersionTuple:
                     res = E5MessageBox.yesNo(
                         self,
                         self.tr("Update available"),

eric ide

mercurial