Topic area, power level text: fix disabled opacity

This commit is contained in:
miruka
2020-07-17 05:29:25 -04:00
parent 504f917b40
commit 7f478efc40
6 changed files with 11 additions and 6 deletions

View File

@@ -163,6 +163,8 @@ HListView {
HLabeledItem {
id: powerLevel
elementsOpacity: item.field.opacity
Component.onCompleted: mainUI.debugConsole.toggle(this )
enabled:
root.canSetPowerLevels &&
(

View File

@@ -109,6 +109,8 @@ HFlickableColumnPage {
HLabeledItem {
id: topicArea
elementsOpacity: topicAreaIn.opacity
enabled: chat.roomInfo.can_set_topic
label.text: qsTr("Topic:")
Layout.fillWidth: true
@@ -125,7 +127,6 @@ HFlickableColumnPage {
id: topicAreaIn
placeholderText: qsTr("This room is about...")
defaultText: chat.roomInfo.plain_topic
enabled: chat.roomInfo.can_set_topic
focusItemOnTab:
encryptCheckBox.checked ?