Skip to content

Commit bfd78d6

Browse files
UI: Remove MetaDEx specific pending warning
1 parent ebf96ca commit bfd78d6

File tree

2 files changed

+0
-29
lines changed

2 files changed

+0
-29
lines changed

src/qt/forms/metadexdialog.ui

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -680,25 +680,6 @@ border: 1px solid rgb(142,61,0);padding:5px 5px 5px 5px;background-repeat: no-re
680680
</item>
681681
</layout>
682682
</item>
683-
<item>
684-
<widget class="QLabel" name="pendingLabel">
685-
<property name="font">
686-
<font>
687-
<weight>75</weight>
688-
<bold>true</bold>
689-
</font>
690-
</property>
691-
<property name="styleSheet">
692-
<string notr="true">color:rgb(167, 125, 19)</string>
693-
</property>
694-
<property name="text">
695-
<string>* YOU HAVE TRANSACTIONS WAITING FOR CONFIRMATION *</string>
696-
</property>
697-
<property name="alignment">
698-
<set>Qt::AlignCenter</set>
699-
</property>
700-
</widget>
701-
</item>
702683
</layout>
703684
</widget>
704685
<resources/>

src/qt/metadexdialog.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,6 @@ MetaDExDialog::MetaDExDialog(QWidget *parent) :
8282
ui->sellList->setFocusPolicy(Qt::NoFocus);
8383
ui->sellList->setAlternatingRowColors(true);
8484

85-
ui->pendingLabel->setVisible(false);
86-
8785
connect(ui->switchButton, SIGNAL(clicked()), this, SLOT(switchButtonClicked()));
8886
connect(ui->buyButton, SIGNAL(clicked()), this, SLOT(buyTrade()));
8987
connect(ui->sellButton, SIGNAL(clicked()), this, SLOT(sellTrade()));
@@ -122,14 +120,6 @@ void MetaDExDialog::setWalletModel(WalletModel *model)
122120
void MetaDExDialog::OrderRefresh()
123121
{
124122
UpdateOffers();
125-
// check for pending transactions, could be more filtered to just trades here
126-
bool pending = false;
127-
for(PendingMap::iterator my_it = my_pending.begin(); my_it != my_pending.end(); ++my_it)
128-
{
129-
// if we get here there are pending transactions in the wallet, flag warning to MetaDEx
130-
pending = true;
131-
}
132-
if(pending) { ui->pendingLabel->setVisible(true); } else { ui->pendingLabel->setVisible(false); }
133123
}
134124

135125
// Executed when the switch market button is clicked

0 commit comments

Comments
 (0)