Make sure new replace items in project settings are inserted at the top

This commit is contained in:
Veronica K. B. Olsen
2020-08-20 20:36:33 +02:00
parent 8b2d7e2917
commit d4052568be
2 changed files with 2 additions and 2 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.addTopLevelItem(newItem)
self.listBox.insertTopLevelItem(0, newItem)
return True
def _delEntry(self):