Browse Source

misc

cl-refactor
yann300 10 years ago
parent
commit
b0dd99ab13
  1. 2
      mix/qml/StateDialog.qml
  2. 10
      mix/qml/main.qml

2
mix/qml/StateDialog.qml

@ -37,7 +37,6 @@ Window {
isDefault = setDefault; isDefault = setDefault;
titleField.focus = true; titleField.focus = true;
defaultCheckBox.enabled = !isDefault; defaultCheckBox.enabled = !isDefault;
} }
function close() { function close() {
@ -89,7 +88,6 @@ Window {
Layout.fillWidth: true Layout.fillWidth: true
} }
Label { Label {
text: qsTr("Transactions") text: qsTr("Transactions")
} }

10
mix/qml/main.qml

@ -92,14 +92,14 @@ ApplicationWindow {
Connections { Connections {
target: projectModel.stateListModel target: projectModel.stateListModel
onDefaultStateChanged:
{ function updateRunLabel()
debugRunAction.text = qsTr("Deploy") + " \"" + projectModel.stateListModel.defaultStateName() + "\"";
}
onStateListModelReady:
{ {
debugRunAction.text = qsTr("Deploy") + " \"" + projectModel.stateListModel.defaultStateName() + "\""; debugRunAction.text = qsTr("Deploy") + " \"" + projectModel.stateListModel.defaultStateName() + "\"";
} }
onDefaultStateChanged: updateRunLabel()
onStateListModelReady: updateRunLabel()
} }
Action { Action {

Loading…
Cancel
Save