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

10
mix/qml/main.qml

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

Loading…
Cancel
Save