Skip to content

Commit

Permalink
[GUI] CoinControlDialog remove duplicate esc button
Browse files Browse the repository at this point in the history
  • Loading branch information
furszy committed Apr 24, 2020
1 parent 440c8f5 commit 2e012ae
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 25 deletions.
3 changes: 0 additions & 3 deletions src/qt/coincontroldialog.cpp
Expand Up @@ -92,11 +92,8 @@ CoinControlDialog::CoinControlDialog(QWidget* parent, bool fMultisigEnabled) : Q

// Buttons
setCssProperty({ui->pushButtonSelectAll, ui->pushButtonToggleLock}, "btn-check");
ui->btnEsc->setProperty("cssClass", "ic-close");
ui->pushButtonOk->setProperty("cssClass", "btn-primary");

connect(ui->btnEsc, &QPushButton::clicked, this, &CoinControlDialog::close);

this->fMultisigEnabled = fMultisigEnabled;

// context menu actions
Expand Down
22 changes: 0 additions & 22 deletions src/qt/forms/coincontroldialog.ui
Expand Up @@ -97,9 +97,6 @@
<height>40</height>
</size>
</property>
<property name="styleSheet">
<string notr="true">padding-left:30px;</string>
</property>
<property name="text">
<string>Select PIV Outputs to Spend</string>
</property>
Expand All @@ -124,25 +121,6 @@
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="btnEsc">
<property name="minimumSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>24</width>
<height>24</height>
</size>
</property>
<property name="text">
<string/>
</property>
</widget>
</item>
</layout>
</item>
<item>
Expand Down

0 comments on commit 2e012ae

Please sign in to comment.