Skip to content
Snippets Groups Projects
Commit 5bf5eb17 authored by Christian Stenger's avatar Christian Stenger
Browse files

Squish: Fix addBranchWildcardToRoot()


Branch information is now listed in square brackets.

Change-Id: I4f38f2a93b8029ed319fae3a7c32adc0aba50660
Reviewed-by: default avatarRobert Loehning <robert.loehning@digia.com>
parent 5d1aece7
No related branches found
No related tags found
No related merge requests found
...@@ -327,8 +327,8 @@ def invokeFindUsage(editor, line, typeOperation, n=1): ...@@ -327,8 +327,8 @@ def invokeFindUsage(editor, line, typeOperation, n=1):
def addBranchWildcardToRoot(rootNode): def addBranchWildcardToRoot(rootNode):
pos = rootNode.find(".") pos = rootNode.find(".")
if pos == -1: if pos == -1:
return rootNode + " (*)" return rootNode + " [[]*[]]"
return rootNode[:pos] + " (*)" + rootNode[pos:] return rootNode[:pos] + " [[]*[]]" + rootNode[pos:]
def openDocument(treeElement): def openDocument(treeElement):
try: try:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment