Fix invisible room categories still taking space
This commit is contained in:
parent
d6714141e0
commit
25bb082f5a
2
TODO.md
2
TODO.md
@ -9,8 +9,6 @@
|
||||
- Icons and images aren't reloaded
|
||||
- HStyle singleton isn't reloaded
|
||||
- `MessageDelegate.qml:63: TypeError: 'reloadPreviousItem' not a function`
|
||||
- Bug when resizing window being tiled (i3), can't figure it out
|
||||
- Can scroll the SidePane rooms too far
|
||||
|
||||
- UI
|
||||
- Improve SidePane appearance when at min width
|
||||
|
@ -155,7 +155,6 @@ class ListModel(QAbstractListModel):
|
||||
|
||||
raise ValueError(f"No item in model data with "
|
||||
f"property {prop!r} set to {is_value!r}.")
|
||||
from PyQt5.QtCore import pyqtRemoveInputHook as PRI; import pdb; PRI(); pdb.set_trace()
|
||||
|
||||
|
||||
@pyqtSlot(int, result="QVariant")
|
||||
|
@ -5,8 +5,8 @@ import "../Base"
|
||||
Column {
|
||||
id: roomCategoryDelegate
|
||||
width: roomCategoriesList.width
|
||||
height: childrenRect.height
|
||||
visible: roomList.contentHeight > 0
|
||||
height: roomList.model.rowCount() > 0 ? childrenRect.height : 0
|
||||
visible: roomList.model.rowCount() > 0
|
||||
|
||||
property string roomListUserId: userId
|
||||
property bool expanded: true
|
||||
|
Loading…
Reference in New Issue
Block a user