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
QtObject {
property double la: 441
property int temperament_idx: 1
property double la: 440
property int temperament_idx: 0
property int notes_style: 0
}

View file

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