summaryrefslogtreecommitdiff
path: root/cui/source/options/optinet2.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2022-06-20 19:17:00 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-06-20 20:53:26 +0200
commitb95142c11e80c58b70dff68bfd7f3792657b9ee2 (patch)
tree4cb6c5c3d61f2d5f61ac288802b897e75ce4281b /cui/source/options/optinet2.cxx
parent8388b834c547d39ceff68b0e247ec164e9fc505d (diff)
tdf#58134 Reset Button in Options Dialogs
fixed a couple of these. Change-Id: Ibef29afee1d702af2812996093deb7204c74e32c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136195 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/options/optinet2.cxx')
-rw-r--r--cui/source/options/optinet2.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/cui/source/options/optinet2.cxx b/cui/source/options/optinet2.cxx
index 3ce4df88cb59..a3dd5826f6f3 100644
--- a/cui/source/options/optinet2.cxx
+++ b/cui/source/options/optinet2.cxx
@@ -204,6 +204,8 @@ void SvxProxyTabPage::ReadConfigData_Impl()
nIntValue = *x;
m_xHttpPortED->set_text( OUString::number( nIntValue ));
}
+ else
+ m_xHttpPortED->set_text( "" );
m_xHttpsProxyED->set_text( officecfg::Inet::Settings::ooInetHTTPSProxyName::get() );
x = officecfg::Inet::Settings::ooInetHTTPSProxyPort::get();
@@ -212,6 +214,8 @@ void SvxProxyTabPage::ReadConfigData_Impl()
nIntValue = *x;
m_xHttpsPortED->set_text( OUString::number( nIntValue ));
}
+ else
+ m_xHttpsPortED->set_text( "" );
m_xFtpProxyED->set_text( officecfg::Inet::Settings::ooInetFTPProxyName::get() );
x = officecfg::Inet::Settings::ooInetFTPProxyPort::get();
@@ -220,6 +224,8 @@ void SvxProxyTabPage::ReadConfigData_Impl()
nIntValue = *x;
m_xFtpPortED->set_text( OUString::number( nIntValue ));
}
+ else
+ m_xFtpPortED->set_text( "" );
m_xNoProxyForED->set_text( officecfg::Inet::Settings::ooInetNoProxy::get() );
}