From eb49d6ac27f2e61bfa841600988cec7d01779056 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Wed, 17 Nov 2021 11:41:40 +0100 Subject: [PATCH] network-setup: change timeout for applying setup Timeout was set to default hintbox timeout settings, that was not really appropriated. Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/53ae027d179235447dea4811b85f108b115482bc Author: Thilo Graf Date: 2021-11-17 (Wed, 17 Nov 2021) ------------------ This commit was generated by Migit --- src/gui/network_setup.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/gui/network_setup.cpp b/src/gui/network_setup.cpp index dafa17512..ff14bce34 100644 --- a/src/gui/network_setup.cpp +++ b/src/gui/network_setup.cpp @@ -102,8 +102,8 @@ int CNetworkSetup::exec(CMenuTarget* parent, const std::string &actionKey) if(actionKey=="networkapply") { applyNetworkSettings(); - ShowHintS("Read settings...", (sigc::mem_fun(*this, &CNetworkSetup::readNetworkSettings))); - ShowHintS("Backup settings...", (sigc::mem_fun(*this, &CNetworkSetup::backupNetworkSettings))); + ShowHintS("Read settings...", (sigc::mem_fun(*this, &CNetworkSetup::readNetworkSettings)), 1); + ShowHintS("Backup settings...", (sigc::mem_fun(*this, &CNetworkSetup::backupNetworkSettings)), 1); return res; } else if(actionKey=="networktest") @@ -583,9 +583,9 @@ void CNetworkSetup::applyNetworkSettings() if (!checkForIP()) return; - ShowHintS("Stopping network...", (sigc::mem_fun(networkConfig, &CNetworkConfig::stopNetwork))); - ShowHintS("Save network settings...", (sigc::mem_fun(*this, &CNetworkSetup::saveNetworkSettings))); - ShowHintS("Starting network...", (sigc::mem_fun(networkConfig, &CNetworkConfig::startNetwork))); + ShowHintS("Stopping network...", (sigc::mem_fun(networkConfig, &CNetworkConfig::stopNetwork)), 1); + ShowHintS("Save network settings...", (sigc::mem_fun(*this, &CNetworkSetup::saveNetworkSettings)), 1); + ShowHintS("Starting network...", (sigc::mem_fun(networkConfig, &CNetworkConfig::startNetwork)), 0); } //open a message dialog with buttons,