Fix room forget and buttons bugs

This commit is contained in:
miruka
2019-04-26 16:52:26 -04:00
parent 5988eccdbb
commit c7dd602687
6 changed files with 33 additions and 17 deletions

View File

@@ -23,6 +23,11 @@ class ListModelMap(QObject):
return self.dict[key]
@pyqtSlot(str, result=bool)
def has(self, key) -> bool:
return key in self.dict
def __getitem__(self, key) -> ListModel:
return self.dict[key]