mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
fixed tunnels invalid ui data handling
This commit is contained in:
@@ -756,6 +756,14 @@ void MainWindow::deleteTunnelForms() {
|
||||
tunnelPanes.clear();
|
||||
}
|
||||
|
||||
bool MainWindow::applyTunnelsUiToConfigs() {
|
||||
for(std::list<TunnelPane*>::iterator it = tunnelPanes.begin(); it != tunnelPanes.end(); ++it) {
|
||||
TunnelPane* tp = *it;
|
||||
if(!tp->applyDataFromUIToTunnelConfig())return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
void MainWindow::reloadTunnelsConfigAndUI(std::string tunnelNameToFocus) {
|
||||
deleteTunnelForms();
|
||||
for (std::map<std::string,TunnelConfig*>::iterator it=tunnelConfigs.begin(); it!=tunnelConfigs.end(); ++it) {
|
||||
|
||||
Reference in New Issue
Block a user