mirror of
https://github.com/dashpay/dash.git
synced 2024-12-28 21:42:47 +01:00
Add export action to file menu (as long as we have a file menu, export certainly should be there)
This commit is contained in:
parent
2aa3429899
commit
d27b4576f3
@ -239,7 +239,7 @@ void BitcoinGUI::createActions()
|
|||||||
openBitcoinAction = new QAction(QIcon(":/icons/bitcoin"), tr("Open &Bitcoin"), this);
|
openBitcoinAction = new QAction(QIcon(":/icons/bitcoin"), tr("Open &Bitcoin"), this);
|
||||||
openBitcoinAction->setToolTip(tr("Show the Bitcoin window"));
|
openBitcoinAction->setToolTip(tr("Show the Bitcoin window"));
|
||||||
exportAction = new QAction(QIcon(":/icons/export"), tr("&Export..."), this);
|
exportAction = new QAction(QIcon(":/icons/export"), tr("&Export..."), this);
|
||||||
exportAction->setToolTip(tr("Export the current view to a file"));
|
exportAction->setToolTip(tr("Export the data in the current tab to a file"));
|
||||||
encryptWalletAction = new QAction(QIcon(":/icons/lock_closed"), tr("&Encrypt Wallet"), this);
|
encryptWalletAction = new QAction(QIcon(":/icons/lock_closed"), tr("&Encrypt Wallet"), this);
|
||||||
encryptWalletAction->setToolTip(tr("Encrypt or decrypt wallet"));
|
encryptWalletAction->setToolTip(tr("Encrypt or decrypt wallet"));
|
||||||
encryptWalletAction->setCheckable(true);
|
encryptWalletAction->setCheckable(true);
|
||||||
@ -267,6 +267,7 @@ void BitcoinGUI::createMenuBar()
|
|||||||
|
|
||||||
// Configure the menus
|
// Configure the menus
|
||||||
QMenu *file = appMenuBar->addMenu(tr("&File"));
|
QMenu *file = appMenuBar->addMenu(tr("&File"));
|
||||||
|
file->addAction(exportAction);
|
||||||
#ifndef FIRST_CLASS_MESSAGING
|
#ifndef FIRST_CLASS_MESSAGING
|
||||||
file->addAction(messageAction);
|
file->addAction(messageAction);
|
||||||
file->addSeparator();
|
file->addSeparator();
|
||||||
|
Loading…
Reference in New Issue
Block a user