Fix room forget and buttons bugs
This commit is contained in:
@@ -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]
|
||||
|
||||
|
Reference in New Issue
Block a user