qml: override finish button text in ServerConnectWizard
This commit is contained in:
@@ -12,6 +12,7 @@ Wizard {
|
||||
enter: null // disable transition
|
||||
|
||||
wiz: Daemon.serverConnectWizard
|
||||
finishButtonText: qsTr('Next')
|
||||
|
||||
onAccepted: {
|
||||
var proxy = wizard_data['proxy']
|
||||
|
||||
@@ -24,6 +24,7 @@ ElDialog {
|
||||
property var wizard_data
|
||||
property alias pages: pages
|
||||
property QtObject wiz
|
||||
property alias finishButtonText: finishButton.text
|
||||
|
||||
function doClose() {
|
||||
if (pages.currentIndex == 0)
|
||||
@@ -171,6 +172,7 @@ ElDialog {
|
||||
}
|
||||
|
||||
Button {
|
||||
id: finishButton
|
||||
text: qsTr("Finish")
|
||||
visible: pages.lastpage
|
||||
enabled: pages.pagevalid
|
||||
|
||||
Reference in New Issue
Block a user