Commit 2a7b28a3 authored by Christian Stenger's avatar Christian Stenger

Squish: Fix getConfiguredKits()

Change-Id: Ie8a38eedac3e89abbe0bfb659ccc57bb7a30990d
Reviewed-by: default avatarRobert Loehning <robert.loehning@digia.com>
parent 78660abd
......@@ -304,7 +304,7 @@ def getConfiguredKits():
for index in [section.child(i, 0) for i in range(model.rowCount(section))]:
targetName = str(index.data().toString())
if (targetName.endswith(" (default)")):
targetName = targetName.rstrip(" (default)")
targetName = targetName.rsplit(" (default)", 1)[0]
item = ".".join([str(section.data().toString()),
str(index.data().toString()).replace(".", "\\.")])
clickItem(treeView, item, 5, 5, 0, Qt.LeftButton)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment