Fix sidePane toolBar id/property name

This commit is contained in:
miruka 2019-08-30 13:48:24 -04:00
parent 70b82b7b59
commit 546761f591
3 changed files with 5 additions and 6 deletions

View File

@ -11,7 +11,6 @@
- When qml syntax highlighting supports ES6 string interpolation, use them - When qml syntax highlighting supports ES6 string interpolation, use them
- Fixes - Fixes
- alt+n
- Icons on KDE - Icons on KDE
- Backspace bug - Backspace bug
- Add missing shortcuts to config file - Add missing shortcuts to config file

View File

@ -11,9 +11,9 @@ Rectangle {
color: theme.sidePane.background color: theme.sidePane.background
property bool hasFocus: toolbar.filterField.activeFocus property bool hasFocus: toolBar.filterField.activeFocus
property alias sidePaneList: sidePaneList property alias sidePaneList: sidePaneList
property alias toolbar: toolbar property alias toolBar: toolBar
property real autoWidthRatio: theme.sidePane.autoWidthRatio property real autoWidthRatio: theme.sidePane.autoWidthRatio
property bool manuallyResizing: false property bool manuallyResizing: false
@ -28,7 +28,7 @@ Rectangle {
} }
} }
onFocusChanged: if (focus) toolbar.filterField.forceActiveFocus() onFocusChanged: if (focus) toolBar.filterField.forceActiveFocus()
onManualWidthChanged: { onManualWidthChanged: {
window.uiState.sidePaneManualWidth = manualWidth window.uiState.sidePaneManualWidth = manualWidth
@ -105,7 +105,7 @@ Rectangle {
} }
SidePaneToolBar { SidePaneToolBar {
id: toolbar id: toolBar
} }
} }
} }

View File

@ -9,7 +9,7 @@ HListView {
readonly property var originSource: window.sidePaneModelSource readonly property var originSource: window.sidePaneModelSource
readonly property var collapseAccounts: window.uiState.collapseAccounts readonly property var collapseAccounts: window.uiState.collapseAccounts
readonly property string filter: toolbar.roomFilter readonly property string filter: toolBar.roomFilter
readonly property alias activateLimiter: activateLimiter readonly property alias activateLimiter: activateLimiter
onOriginSourceChanged: filterLimiter.restart() onOriginSourceChanged: filterLimiter.restart()