Skip to content
This repository has been archived by the owner on Jul 23, 2021. It is now read-only.

Commit

Permalink
Merge pull request #17 from MERP-Solutions/master
Browse files Browse the repository at this point in the history
Corrected messaging page GUI issue, re-enabled back button for message page GUI
  • Loading branch information
CryptoCoderz authored Mar 14, 2020
2 parents ea2103d + 76f42d9 commit b415930
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/qt/bitcoin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include "clientmodel.h"
#include "walletmodel.h"
#include "optionsmodel.h"
#include "messagemodel.h"
#include "guiutil.h"
#include "guiconstants.h"
#include "init.h"
Expand Down Expand Up @@ -283,9 +284,11 @@ int main(int argc, char *argv[])

ClientModel clientModel(&optionsModel);
WalletModel walletModel(pwalletMain, &optionsModel);
MessageModel messageModel(pwalletMain, &walletModel);

window.setClientModel(&clientModel);
window.setWalletModel(&walletModel);
window.setMessageModel(&messageModel);

// If -min option passed, start window minimized.
if(GetBoolArg("-min", false))
Expand Down
2 changes: 1 addition & 1 deletion src/qt/bitcoingui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ void DigitalNoteGUI::createToolBars()
toolbar->addAction(addressBookAction);
toolbar->addAction(masternodeManagerAction);
if (!fLiteMode){
toolbar->addAction(messageAction);
toolbar->addAction(messageAction);
}
toolbar->addAction(blockAction);
netLabel = new QLabel();
Expand Down
2 changes: 1 addition & 1 deletion src/qt/forms/messagepage.ui
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
<item>
<widget class="QPushButton" name="backButton">
<property name="enabled">
<bool>false</bool>
<bool>true</bool>
</property>
<property name="text">
<string>&amp;Back</string>
Expand Down

0 comments on commit b415930

Please sign in to comment.