odinblockchain / ODIN

Official ODIN-Qt Wallet -- See releases for downloads
https://odinblockchain.org
MIT License
12 stars 3 forks source link

Open Masternode configuration file option doesn't work from within wallet GUI #8

Open chrishasl opened 5 years ago

chrishasl commented 5 years ago

Describe the issue

The 'Open Masternode configuration file' option doesn't work from within GUI

Can you reliably reproduce the issue?

If so, please list the steps to reproduce below:

  1. Tools -> Open masternode configuration file

Expected behavior

Opens masternode.conf in default editor

Actual behavior

Nothing

What version of ODIN Core are you using?

v1.4.2

Machine specs:

Any extra information that might be useful in the debugging process.

src/qt/guiutil.cpp line 380

void openMNConfigfile()
{
    boost::filesystem::path pathConfig = GetMasternodeConfigFile();

    /* Open masternode.conf with the associated application */
    if (boost::filesystem::exists(pathConfig))
        QDesktopServices::openUrl(QUrl::fromLocalFile(boostPathToQString(pathConfig)));
}
Crypto-Tiger commented 5 years ago

Having the same issue. Were you ever able to find the config file? @chrishasl

chrishasl commented 5 years ago

yeah it's in ~/.odin/masternode.conf on Linux, or ~/Library/Application\ Support/Odin/masternode.conf on OSX

Crypto-Tiger commented 5 years ago

Much thanks,

@chrishasl

thijslnl commented 5 years ago

Very late to the party, but do you actually have an default editor assigned to .conf files in Mac? I always ask people to install something like TextMate on Mac when troubleshooting their issues over Discord.