Skip to content

Commit a6e6e39

Browse files
committed
Bugfix: respect user defined configuration file (-conf) when open conf. file from QT settings
1 parent 8a98dfe commit a6e6e39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qt/guiutil.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ void openDebugLogfile()
417417

418418
bool openBitcoinConf()
419419
{
420-
boost::filesystem::path pathConfig = GetConfigFile(BITCOIN_CONF_FILENAME);
420+
boost::filesystem::path pathConfig = GetConfigFile(gArgs.GetArg("-conf", BITCOIN_CONF_FILENAME));
421421

422422
/* Create the file */
423423
boost::filesystem::ofstream configFile(pathConfig, std::ios_base::app);

0 commit comments

Comments
 (0)