diff --git a/qml/panes/GroupSettingsPane.qml b/qml/panes/GroupSettingsPane.qml index 38cd15d8..ef2d5c4a 100644 --- a/qml/panes/GroupSettingsPane.qml +++ b/qml/panes/GroupSettingsPane.qml @@ -8,6 +8,7 @@ import QtQuick.Controls 1.4 import "../widgets" import "../styles" +import "../utils.js" as Utils ColumnLayout { // groupSettingsPane anchors.fill: parent @@ -92,6 +93,7 @@ ColumnLayout { // groupSettingsPane //popup.font.pixelSize: 12 width: 200 //font.pixelSize: 20 + style: CwtchComboBoxStyle{} } SimpleButton { @@ -113,7 +115,7 @@ ColumnLayout { // groupSettingsPane txtGroupName.text = name txtServer.text = server txtInvitation.text = invite - cbInvite.model = addrbooknames + cbInvite.model = addrbooknames.map(function(e){return Utils.htmlEscaped(e)}) addrbook = addrbookaddrs } } diff --git a/qml/styles/CwtchComboBoxStyle.qml b/qml/styles/CwtchComboBoxStyle.qml new file mode 100644 index 00000000..2216ef98 --- /dev/null +++ b/qml/styles/CwtchComboBoxStyle.qml @@ -0,0 +1,7 @@ +import QtQuick.Controls.Styles 1.4 +import QtQuick 2.7 + + +ComboBoxStyle { + textColor: "#000" +} \ No newline at end of file