Fix invisible room categories still taking space

This commit is contained in:
miruka 2019-05-06 14:20:20 -04:00
parent d6714141e0
commit 25bb082f5a
3 changed files with 2 additions and 5 deletions

View File

@ -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

View File

@ -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")

View File

@ -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