Fixed typo in test

This commit is contained in:
Veronica K. B. Olsen
2020-08-20 20:52:47 +02:00
parent aef093a3e5
commit be0b9ef358
+1 -1
View File
@@ -341,7 +341,7 @@ def testProjectEditor(qtbot, nwTempGUI, nwRef, nwTemp):
newIdx = -1
for i in range(projEdit.tabReplace.listBox.topLevelItemCount()):
if projEdit.tabReplace.listBox.topLevelItem(0).text(0) == "<keyword2>":
if projEdit.tabReplace.listBox.topLevelItem(i).text(0) == "<keyword2>":
newIdx = i
break