From be0b9ef358720e8b9f8408640eca2cdf9caaeaf0 Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Thu, 20 Aug 2020 20:52:47 +0200 Subject: [PATCH] Fixed typo in test --- tests/test_gui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_gui.py b/tests/test_gui.py index ee2510c8..30210ecd 100644 --- a/tests/test_gui.py +++ b/tests/test_gui.py @@ -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) == "": + if projEdit.tabReplace.listBox.topLevelItem(i).text(0) == "": newIdx = i break