diff --git a/qtgui/quickopensessioncontroller.py b/qtgui/quickopensessioncontroller.py index 83b14fb..f93cd2f 100644 --- a/qtgui/quickopensessioncontroller.py +++ b/qtgui/quickopensessioncontroller.py @@ -137,8 +137,8 @@ class StarterClientItem(QtWidgets.QListWidgetItem): p.end() ico = QtGui.QIcon(pixmap) else: - assert self.argodejoExec in self.parentController.mainWindow.programIcons, self.argodejoExec #because we created missing icons ourselves - ico = self.parentController.mainWindow.programIcons[self.argodejoExec] + if self.argodejoExec in self.parentController.mainWindow.programIcons: #there was a strange bug once where this happened exactly one, and then everything was fine, including this icon. Some DB backwards compatibility. + ico = self.parentController.mainWindow.programIcons[self.argodejoExec] self.setIcon(ico)