@@ -389,10 +389,11 @@ void BitcoinGUI::createActions()
389389 // -//openPeersAction->setStatusTip(tr("Show peers info"));
390390 // -//openRepairAction = new QAction(QIcon(":/icons/" + theme + "/options"), tr("Wallet &Repair"), this);
391391 // -//openRepairAction->setStatusTip(tr("Show wallet repair options"));
392- // -// openConfEditorAction = new QAction(QIcon(":/icons/" + theme + "/edit"), tr("Open Wallet &Configuration File"), this);
393- // -// openConfEditorAction->setStatusTip(tr("Open configuration file"));
392+ openConfEditorAction = new QAction (QIcon (" :/icons/" + theme + " /edit" ), tr (" Open Wallet &Configuration File" ), this );
393+ openConfEditorAction->setStatusTip (tr (" Open configuration file" ));
394394 openMNConfEditorAction = new QAction (platformStyle->TextColorIcon (" :/icons/edit" ), tr (" Open &Masternode Configuration File" ), this );
395395 openMNConfEditorAction->setStatusTip (tr (" Open Masternode configuration file" ));
396+
396397 // -//showBackupsAction = new QAction(QIcon(":/icons/" + theme + "/browse"), tr("Show Automatic &Backups"), this);
397398 // -//showBackupsAction->setStatusTip(tr("Show automatically created wallet backups"));
398399 // initially disable the debug window menu items
@@ -443,7 +444,7 @@ void BitcoinGUI::createActions()
443444 // -//connect(openRepairAction, SIGNAL(triggered()), this, SLOT(showRepair()));
444445
445446 // Open configs and backup folder from menu
446- // -// connect(openConfEditorAction, SIGNAL(triggered()), this, SLOT(showConfEditor()));
447+ connect (openConfEditorAction, SIGNAL (triggered ()), this , SLOT (showConfEditor ()));
447448 connect (openMNConfEditorAction, SIGNAL (triggered ()), this , SLOT (showMNConfEditor ()));
448449 // -//connect(showBackupsAction, SIGNAL(triggered()), this, SLOT(showBackups()));
449450
@@ -549,7 +550,7 @@ void BitcoinGUI::createMenuBar()
549550 // -//tools->addAction(openPeersAction);
550551 // -//tools->addAction(openRepairAction);
551552 // -//tools->addSeparator();
552- // -// tools->addAction(openConfEditorAction);
553+ tools->addAction (openConfEditorAction);
553554 tools->addAction (openMNConfEditorAction);
554555 // -//tools->addAction(showBackupsAction);
555556 }
@@ -938,7 +939,11 @@ void BitcoinGUI::showMNConfEditor()
938939{
939940 GUIUtil::openMNConfigfile ();
940941}
941- //
942+ // BTX
943+ void BitcoinGUI::showConfEditor ()
944+ {
945+ GUIUtil::openBTXConfigfile ();
946+ }
942947
943948void BitcoinGUI::showHelpMessageClicked ()
944949{
0 commit comments