Browse Source

Add export action to file menu (as long as we have a file menu, export certainly should be there)

0.8
Wladimir J. van der Laan 13 years ago
parent
commit
d27b4576f3
  1. 3
      src/qt/bitcoingui.cpp

3
src/qt/bitcoingui.cpp

@ -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…
Cancel
Save