forked from qt-creator/qt-creator
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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user