From a76ff438f2deff7cde6293a856fde6ae545cf23b Mon Sep 17 00:00:00 2001 From: upstream svn Date: Sun, 26 Sep 2010 12:09:00 +0000 Subject: [PATCH] Tell the user that changes of EC settings require a restart Fell into that trap myself, wondering why I still couldn't connect after enabling EC connection. :-p --- .svn-revision | 2 +- src/PrefsUnifiedDlg.cpp | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.svn-revision b/.svn-revision index 589d3ee4..817b26ce 100644 --- a/.svn-revision +++ b/.svn-revision @@ -1 +1 @@ -10294 +10295 diff --git a/src/PrefsUnifiedDlg.cpp b/src/PrefsUnifiedDlg.cpp index ce01cb42..37362d65 100644 --- a/src/PrefsUnifiedDlg.cpp +++ b/src/PrefsUnifiedDlg.cpp @@ -562,6 +562,19 @@ void PrefsUnifiedDlg::OnOk(wxCommandEvent& WXUNUSED(event)) restart_needed_msg += _("- UDP port changed.\n"); } + if (CfgChanged(IDC_EXT_CONN_TCP_PORT)) { + restart_needed = true; + restart_needed_msg += _("- External connect port changed.\n"); + } + if (CfgChanged(IDC_EXT_CONN_ACCEPT)) { + restart_needed = true; + restart_needed_msg += _("- External connect acceptance changed.\n"); + } + if (CfgChanged(IDC_EXT_CONN_IP)) { + restart_needed = true; + restart_needed_msg += _("- External connect interface changed.\n"); + } + // Force port checking thePrefs::SetPort(thePrefs::GetPort()); -- 2.11.4.GIT