fixed tunnels invalid ui data handling 2

This commit is contained in:
hypnosis-i2p 2017-09-09 01:09:31 +08:00
parent 1947be4957
commit cd3f274763
4 changed files with 12 additions and 8 deletions

View file

@ -186,6 +186,7 @@ void TunnelPane::appendControlsForI2CPParameters(I2CPParameters& i2cpParameters,
void TunnelPane::updated() {
std::string oldName=tunnelConfig->getName();
//validate and show red if invalid
hideWrongInputLabel();
if(!mainWindow->applyTunnelsUiToConfigs())return;
tunnelsPageUpdateListener->updated(oldName, tunnelConfig);
}