fix crash when a bookmarked housing has been removed from website
This commit is contained in:
parent
b30b6398fa
commit
cf58a18f00
1 changed files with 3 additions and 0 deletions
|
|
@ -222,6 +222,9 @@ class MainWindow(QtMainWindow):
|
||||||
self.process = None
|
self.process = None
|
||||||
return
|
return
|
||||||
|
|
||||||
|
if not housing:
|
||||||
|
return
|
||||||
|
|
||||||
item = HousingListWidgetItem(housing)
|
item = HousingListWidgetItem(housing)
|
||||||
item.setAttrs(self.storage)
|
item.setAttrs(self.storage)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue