qml: add ellipsis to buttons that are followed by another chance to bail
This commit is contained in:
@@ -274,7 +274,7 @@ ElDialog {
|
||||
id: sendButton
|
||||
Layout.fillWidth: true
|
||||
text: (Daemon.currentWallet.isWatchOnly || !Daemon.currentWallet.canSignWithoutCosigner)
|
||||
? qsTr('Finalize')
|
||||
? qsTr('Finalize...')
|
||||
: qsTr('Pay...')
|
||||
icon.source: '../../icons/confirmed.png'
|
||||
enabled: finalizer.valid
|
||||
|
||||
@@ -143,7 +143,7 @@ ElDialog {
|
||||
Layout.preferredWidth: 1
|
||||
enabled: valid
|
||||
icon.source: '../../icons/tab_send.png'
|
||||
text: qsTr('Sweep')
|
||||
text: qsTr('Sweep...')
|
||||
onClicked: {
|
||||
console.log('sweeping')
|
||||
root.privateKeys = sweepkeys.text
|
||||
|
||||
@@ -366,7 +366,7 @@ Pane {
|
||||
Layout.preferredWidth: 1
|
||||
id: feebumpButton
|
||||
icon.source: '../../icons/add.png'
|
||||
text: qsTr('Bump fee')
|
||||
text: qsTr('Bump fee...')
|
||||
visible: txdetails.canBump || txdetails.canCpfp
|
||||
onClicked: {
|
||||
if (txdetails.canBump) {
|
||||
@@ -382,7 +382,7 @@ Pane {
|
||||
Layout.preferredWidth: 1
|
||||
id: cancelButton
|
||||
icon.source: '../../icons/closebutton.png'
|
||||
text: qsTr('Cancel Tx')
|
||||
text: qsTr('Cancel Tx...')
|
||||
visible: txdetails.canCancel
|
||||
onClicked: {
|
||||
var dialog = rbfCancelDialog.createObject(root, { txid: txdetails.txid })
|
||||
@@ -393,7 +393,9 @@ Pane {
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredWidth: 1
|
||||
icon.source: '../../icons/key.png'
|
||||
text: qsTr('Sign')
|
||||
text: txdetails.shouldConfirm
|
||||
? qsTr('Sign...')
|
||||
: qsTr('Sign')
|
||||
visible: txdetails.canSign
|
||||
onClicked: {
|
||||
if (txdetails.shouldConfirm) {
|
||||
@@ -425,7 +427,7 @@ Pane {
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredWidth: 1
|
||||
icon.source: '../../icons/qrcode_white.png'
|
||||
text: qsTr('Share')
|
||||
text: qsTr('Share...')
|
||||
enabled: !txdetails.isUnrelated && !txdetails.isRemoved
|
||||
onClicked: {
|
||||
var msg = ''
|
||||
@@ -465,7 +467,7 @@ Pane {
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredWidth: 1
|
||||
icon.source: '../../icons/delete.png'
|
||||
text: qsTr('Remove')
|
||||
text: qsTr('Remove...')
|
||||
visible: txdetails.canRemove
|
||||
onClicked: txdetails.removeLocalTx()
|
||||
}
|
||||
|
||||
@@ -429,7 +429,7 @@ Pane {
|
||||
FlatButton {
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredWidth: 1
|
||||
text: qsTr('Delete Wallet')
|
||||
text: qsTr('Delete Wallet...')
|
||||
onClicked: Daemon.checkThenDeleteWallet(Daemon.currentWallet)
|
||||
icon.source: '../../icons/delete.png'
|
||||
}
|
||||
|
||||
@@ -141,7 +141,9 @@ Item {
|
||||
message: qsTr('Sweep transaction'),
|
||||
showOptions: false,
|
||||
amountLabelText: qsTr('Total sweep amount'),
|
||||
sendButtonText: qsTr('Sweep')
|
||||
sendButtonText: Daemon.currentWallet.isWatchOnly
|
||||
? qsTr('Sweep...')
|
||||
: qsTr('Sweep')
|
||||
})
|
||||
finalizerDialog.accepted.connect(function() {
|
||||
if (Daemon.currentWallet.isWatchOnly) {
|
||||
@@ -225,7 +227,7 @@ Item {
|
||||
icon.color: action.enabled ? 'transparent' : Material.iconDisabledColor
|
||||
icon.source: '../../icons/sweep.png'
|
||||
action: Action {
|
||||
text: qsTr('Sweep key')
|
||||
text: qsTr('Sweep key(s)')
|
||||
onTriggered: {
|
||||
startSweep()
|
||||
menu.deselect()
|
||||
|
||||
Reference in New Issue
Block a user