Skip to content

Commit

Permalink
Addon manager: Fixed wrong marking of addons that begin with same let…
Browse files Browse the repository at this point in the history
…ters
  • Loading branch information
yorikvanhavre committed Oct 9, 2019
1 parent ca30dfe commit 6d7da24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/AddonManager/AddonManager.py
Expand Up @@ -558,7 +558,7 @@ def mark(self,repo):
from PySide import QtGui
for i in range(self.dialog.listWorkbenches.count()):
w = self.dialog.listWorkbenches.item(i)
if w.text().startswith(str(repo)):
if (w.text() == str(repo)) or w.text().startswith(str(repo)+" "):
w.setText(str(repo) + str(" ("+translate("AddonsInstaller","Update available")+")"))
w.setForeground(QtGui.QBrush(QtGui.QColor(182,90,0)))
if not repo in self.doUpdate:
Expand Down

0 comments on commit 6d7da24

Please sign in to comment.