Skip to content

Commit

Permalink
Gui fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
levonpetrosyan93 committed Dec 10, 2019
1 parent 0ec3fe6 commit 7f9f1c4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
18 changes: 5 additions & 13 deletions src/qt/forms/notifymnemonic.ui
Expand Up @@ -2,16 +2,8 @@
<ui version="4.0">
<class>NotifyMnemonic</class>
<widget class="QWizard" name="NotifyMnemonic">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>674</width>
<height>383</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
Expand All @@ -27,7 +19,7 @@
</property>
<widget class="QWizardPage" name="wizardPage1">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
Expand Down Expand Up @@ -62,7 +54,7 @@
<item>
<widget class="QFrame" name="mnemonicBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
Expand All @@ -77,7 +69,7 @@
<enum>Qt::AlignCenter</enum>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
Expand All @@ -104,7 +96,7 @@
<property name="sizeHint" stdset="0">
<size>
<width>60</width>
<height>35</height>
<height>40</height>
</size>
</property>
</spacer>
Expand Down
2 changes: 1 addition & 1 deletion src/qt/notifymnemonic.cpp
Expand Up @@ -30,7 +30,7 @@ NotifyMnemonic::~NotifyMnemonic()

void NotifyMnemonic::cancelEvent()
{
if( QMessageBox::question( this, trUtf8( "Warning" ), trUtf8( "Are you sure to close the setup without confirming that you have got words right." ), QMessageBox::Yes, QMessageBox::No ) == QMessageBox::Yes ) {
if( QMessageBox::question( this, trUtf8( "Warning" ), trUtf8( "Are you sure you wish to proceed without confirming whether you have written down your seed words correctly?" ), QMessageBox::Yes, QMessageBox::No ) == QMessageBox::Yes ) {
// allow cancel
reject();
}
Expand Down

0 comments on commit 7f9f1c4

Please sign in to comment.