Skip to content

Commit

Permalink
Namecoin: Use QDialogButtonBox in DNS dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyRand committed Dec 1, 2019
1 parent 45162c9 commit 28091dd
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions electrum_nmc/electrum/gui/qt/forms/dnsdialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -1285,9 +1285,17 @@
</layout>
</item>
<item>
<!-- TODO: Replace this with a QDialogButtonBox. -->
<!-- TODO: Reconcile this with Namecoin Core's version (commented out below) -->
<!-- TODO: Ask upstream Electrum to switch to QDialogButtonBox. -->
<layout class="QHBoxLayout" name="horizontalLayout_Buttons">
<widget class="QDialogButtonBox" name="dialogButtons">
<property name="centerButtons">
<bool>true</bool>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
<!--<layout class="QHBoxLayout" name="horizontalLayout_Buttons">
<item>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
Expand Down Expand Up @@ -1319,7 +1327,7 @@
</item>
</layout>
</item>
</layout>
</layout>-->
</item>
</layout>
</widget>
Expand Down

0 comments on commit 28091dd

Please sign in to comment.