Skip to content

Commit

Permalink
Bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Sw0rdf1sh1 committed Oct 12, 2018
1 parent 7d43521 commit 77a0bf1
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion src/gui/ConfirmSendDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ void ConfirmSendDialog::confirmNoPaymentId() {
}

void ConfirmSendDialog::showConfirmDonation(quint64 _donation) {
m_ui->m_confirmDonationLabel->setText(QString(tr("<html><head/><body><p>Are you sure to donate <strong>%1 QWC</strong>?</p></body></html>")).arg(CurrencyAdapter::instance().formatAmount(_donation)));
m_ui->m_confirmDonationLabel->setText(QString(tr("<html><head/><body><p>Are you sure you want donate <strong>%1 QWC</strong>?</p></body></html>")).arg(CurrencyAdapter::instance().formatAmount(_donation)));
}

}
4 changes: 2 additions & 2 deletions src/gui/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -938,8 +938,8 @@ void MainWindow::walletOpened(bool _error, const QString& _error_text) {
m_ui->m_resetAction->setEnabled(true);
m_ui->m_openUriAction->setEnabled(true);
m_ui->m_sweepUnmixableAction->setEnabled(true);
m_ui->m_signMessageAction->setEnabled(true);
m_ui->m_verifySignedMessageAction->setEnabled(true);
m_ui->m_signMessageAction->setEnabled(false);
m_ui->m_verifySignedMessageAction->setEnabled(false);
if(WalletAdapter::instance().isDeterministic()) {
m_ui->m_showMnemonicSeedAction->setEnabled(true);
}
Expand Down
8 changes: 4 additions & 4 deletions src/gui/OverviewFrame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,19 +77,19 @@ void OverviewFrame::layoutChanged() {
}

void OverviewFrame::updateActualBalance(quint64 _balance) {
m_ui->m_actualBalanceLabel->setText(CurrencyAdapter::instance().formatAmount(_balance).remove(','));
m_ui->m_actualBalanceLabel->setText(CurrencyAdapter::instance().formatAmount(_balance));
quint64 pendingBalance = WalletAdapter::instance().getPendingBalance();
m_ui->m_totalBalanceLabel->setText(CurrencyAdapter::instance().formatAmount(_balance + pendingBalance).remove(','));
m_ui->m_totalBalanceLabel->setText(CurrencyAdapter::instance().formatAmount(_balance + pendingBalance));
}

void OverviewFrame::updatePendingBalance(quint64 _balance) {
m_ui->m_pendingBalanceLabel->setText(CurrencyAdapter::instance().formatAmount(_balance).remove(','));
quint64 actualBalance = WalletAdapter::instance().getActualBalance();
m_ui->m_totalBalanceLabel->setText(CurrencyAdapter::instance().formatAmount(_balance + actualBalance).remove(','));
m_ui->m_totalBalanceLabel->setText(CurrencyAdapter::instance().formatAmount(_balance + actualBalance));
}

void OverviewFrame::updateUnmixableBalance(quint64 _balance) {
m_ui->m_unmixableBalanceLabel->setText(CurrencyAdapter::instance().formatAmount(_balance).remove(','));
m_ui->m_unmixableBalanceLabel->setText(CurrencyAdapter::instance().formatAmount(_balance));
}

void OverviewFrame::reset() {
Expand Down
18 changes: 9 additions & 9 deletions src/gui/ui/sendframe.ui
Original file line number Diff line number Diff line change
Expand Up @@ -419,17 +419,17 @@
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="m_sendAllButton">
<property name="text">
<item>
<widget class="QPushButton" name="m_sendAllButton">
<property name="text">
<string>Send All</string>
</property>
<property name="icon">
</property>
<property name="icon">
<iconset resource="../../resources.qrc">
<normaloff>:/icons/sweep</normaloff>:/icons/sweep</iconset>
</property>
</widget>
</item>
<normaloff>:/icons/sweep</normaloff>:/icons/sweep</iconset>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="m_clearAllButton">
<property name="text">
Expand Down

0 comments on commit 77a0bf1

Please sign in to comment.