wizardview: redesign
Change-Id: If0a3d896b35385f24c9d04b67b12146febfff7c2
diff --git a/src/mainview/components/AccountComboBoxPopup.qml b/src/mainview/components/AccountComboBoxPopup.qml
index 7f0974a..2e3120d 100644
--- a/src/mainview/components/AccountComboBoxPopup.qml
+++ b/src/mainview/components/AccountComboBoxPopup.qml
@@ -71,12 +71,16 @@
fillMode: Image.PreserveAspectFit
mipmap: true
-
/*
* Role::Picture
*/
- source: "data:image/png;base64," + accountListModel.data(
- accountListModel.index(index, 0), 259)
+ source: {
+ var data = accountListModel.data(accountListModel.index(index, 0), 259)
+ if (data === undefined) {
+ return ""
+ }
+ return "data:image/png;base64," + data
+ }
}
Text {
@@ -145,15 +149,17 @@
}
}
- footer: HoverableButton {
+ footer: Button {
id: comboBoxFooterItem
implicitWidth: accountComboBox.width
implicitHeight: accountComboBox.height
+ background: Rectangle {
+ color: comboBoxFooterItem.hovered? JamiTheme.releaseColor : JamiTheme.backgroundColor
+ }
+
text: qsTr("Add Account") + "+"
- backgroundColor: JamiTheme.backgroundColor
- onExitColor: JamiTheme.backgroundColor
onClicked: {
comboBoxPopup.close()