mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-02 11:04:00 +01:00
fixed ReloadConfig(); fixed --log
This commit is contained in:
parent
63e175d389
commit
fc2ae6f887
|
@ -766,7 +766,7 @@ void MainWindow::SaveTunnelsConfig() {
|
||||||
outfile << out.str().c_str();
|
outfile << out.str().c_str();
|
||||||
outfile.close();
|
outfile.close();
|
||||||
|
|
||||||
i2p::client::ClientContext::ReloadConfig();
|
i2p::client::context.ReloadConfig();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -218,7 +218,9 @@ public:
|
||||||
comboBox->setCurrentText(QString(ld));
|
comboBox->setCurrentText(QString(ld));
|
||||||
}
|
}
|
||||||
virtual void saveToStringStream(std::stringstream& out){
|
virtual void saveToStringStream(std::stringstream& out){
|
||||||
optionValue=comboBox->currentText().toStdString();
|
std::string logDest = comboBox->currentText().toStdString();
|
||||||
|
if(logDest==std::string("stdout"))logDest="";
|
||||||
|
optionValue=logDest;
|
||||||
MainWindowItem::saveToStringStream(out);
|
MainWindowItem::saveToStringStream(out);
|
||||||
}
|
}
|
||||||
virtual bool isValid() { return true; }
|
virtual bool isValid() { return true; }
|
||||||
|
|
Loading…
Reference in a new issue