Set invited and left rooms position in model
Invited rooms at the start, left rooms at the end, with the bonus effect of fixing the roomList height problem.
This commit is contained in:
@@ -197,7 +197,6 @@ class ListModel(QAbstractListModel):
|
||||
if (n <= 0) or (from_ == to) or (qlast == to) or \
|
||||
not (self.rowCount() > qlast >= 0) or \
|
||||
not self.rowCount() >= to >= 0:
|
||||
logging.warning("No need for move or out of range")
|
||||
return
|
||||
|
||||
qidx = QModelIndex()
|
||||
|
Reference in New Issue
Block a user