Skip to content

Commit

Permalink
remove cancel option from firstupdate screen
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonrobertz committed Oct 22, 2017
1 parent ec882d6 commit 877c11c
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 31 deletions.
5 changes: 0 additions & 5 deletions src/qt/configurenamedialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,6 @@ void ConfigureNameDialog::accept()
QDialog::accept();
}

void ConfigureNameDialog::reject()
{
QDialog::reject();
}

void ConfigureNameDialog::setModel(WalletModel *walletModel)
{
this->walletModel = walletModel;
Expand Down
1 change: 0 additions & 1 deletion src/qt/configurenamedialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ class ConfigureNameDialog : public QDialog

public Q_SLOTS:
void accept();
void reject();
void on_addressBookButton_clicked();
void on_pasteButton_clicked();

Expand Down
53 changes: 28 additions & 25 deletions src/qt/forms/configurenamedialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>629</width>
<height>219</height>
<width>545</width>
<height>245</height>
</rect>
</property>
<property name="sizePolicy">
Expand Down Expand Up @@ -192,17 +192,36 @@ Leave empty, if not needed.</string>
</item>
</layout>
</item>
<item>
<widget class="QLabel" name="labelSubmitHint">
<property name="text">
<string notr="true">TextLabel</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="margin">
<number>10</number>
</property>
<property name="indent">
<number>10</number>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="labelSubmitHint">
<property name="text">
<string notr="true">TextLabel</string>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</widget>
</spacer>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
Expand All @@ -216,7 +235,7 @@ Leave empty, if not needed.</string>
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
<set>QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
Expand Down Expand Up @@ -251,21 +270,5 @@ Leave empty, if not needed.</string>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>ConfigureNameDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>316</x>
<y>260</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
</connections>
</ui>

0 comments on commit 877c11c

Please sign in to comment.