Squish: Fix addBranchWildcardToRoot()

Branch information is now listed in square brackets.

Change-Id: I4f38f2a93b8029ed319fae3a7c32adc0aba50660
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
This commit is contained in:
Christian Stenger
2013-09-20 11:29:25 +02:00
parent 5d1aece721
commit 5bf5eb17f1

View File

@@ -327,8 +327,8 @@ def invokeFindUsage(editor, line, typeOperation, n=1):
def addBranchWildcardToRoot(rootNode):
pos = rootNode.find(".")
if pos == -1:
return rootNode + " (*)"
return rootNode[:pos] + " (*)" + rootNode[pos:]
return rootNode + " [[]*[]]"
return rootNode[:pos] + " [[]*[]]" + rootNode[pos:]
def openDocument(treeElement):
try: