|
|
@ -520,10 +520,10 @@ void MainWindow::setupSettingsModal() { |
|
|
|
auto hushConfLocation = Settings::getInstance()->getHushdConfLocation(); |
|
|
|
if (!hushConfLocation.isEmpty()) { |
|
|
|
settings.confMsg->setText("Settings are being read from \n" + hushConfLocation); |
|
|
|
settings.hostname->setEnabled(false); |
|
|
|
settings.port->setEnabled(false); |
|
|
|
settings.rpcuser->setEnabled(false); |
|
|
|
settings.rpcpassword->setEnabled(false); |
|
|
|
settings.hostname->setReadOnly(true); |
|
|
|
settings.port->setReadOnly(true); |
|
|
|
settings.rpcuser->setReadOnly(true); |
|
|
|
settings.rpcpassword->setReadOnly(true); |
|
|
|
} else { |
|
|
|
settings.confMsg->setText("No local HUSH3.conf found. Please configure connection manually."); |
|
|
|
settings.hostname->setEnabled(true); |
|
|
|