Make sure build map is cleared when list is updated

This commit is contained in:
Veronica Berglyd Olsen
2024-05-01 20:30:32 +02:00
parent e1a1b5980e
commit d0a45bceca
+1
View File
@@ -487,6 +487,7 @@ class GuiManuscript(QDialog):
def _updateBuildsList(self) -> None:
"""Update the list of available builds."""
self.buildList.clear()
self._buildMap.clear()
for key, name in self._builds.builds():
bItem = QListWidgetItem()
bItem.setText(name)