ConfigurationPage fixes

This commit is contained in:
Louis-Joseph Fournier 2016-01-09 08:50:34 +01:00
parent 64f19c7aa9
commit ee4395717c
2 changed files with 5 additions and 4 deletions

View file

@ -3,7 +3,7 @@ import QtQuick 2.0
pragma Singleton pragma Singleton
QtObject { QtObject {
property double la: 441 property double la: 440
property int temperament_idx: 1 property int temperament_idx: 0
property int notes_style: 0 property int notes_style: 0
} }

View file

@ -44,6 +44,7 @@ Dialog {
id: la id: la
text: Config.la text: Config.la
label: qsTr("La") label: qsTr("La")
width: Theme.fontSizeMedium * 5
} }
/// predefined la(s) /// predefined la(s)
@ -63,7 +64,7 @@ Dialog {
Text { Text {
id: la_freq id: la_freq
font.pixelSize: Theme.fontSizeSmall font.pixelSize: Theme.fontSizeSmall
text: tab_la[parent.index] text: la_tab[parent.index]
} }
MouseArea { MouseArea {
anchors.fill: parent anchors.fill: parent
@ -95,7 +96,7 @@ Dialog {
TextSwitch { TextSwitch {
id: notes_style id: notes_style
text: qsTr("French notes") text: qsTr("French notes")
down: Config.note_style == 1 checked: Config.notes_style == 1
} }
} }
onAccepted: { onAccepted: {