Make sure the correct item is selected

This commit is contained in:
Veronica K. B. Olsen
2020-08-20 20:43:19 +02:00
parent d4052568be
commit cff7463a7c
2 changed files with 11 additions and 3 deletions
+1 -1
View File
@@ -617,7 +617,7 @@ class GuiProjectEditReplace(QWidget):
saveKey = "<keyword%d>" % (self.listBox.topLevelItemCount() + 1)
newVal = ""
newItem = QTreeWidgetItem([saveKey, newVal])
self.listBox.insertTopLevelItem(0, newItem)
self.listBox.addTopLevelItem(newItem)
return True
def _delEntry(self):