Make sure the correct item is selected

This commit is contained in:
Veronica K. B. Olsen committed 2020-08-20 20:43:19 +02:00
1 parent d4052568be
commit cff7463a7c
2 files changed
+11 -3

No files matched your search

+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):