Browse Source

Merge pull request #59572 from timothyqiu/ssl-restart-3.x

[3.x] Mark Editor SSL Certificates setting as require restart
Rémi Verschelde 3 years ago
parent
commit
d8e460cd57
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/editor_settings.cpp

+ 1 - 1
editor/editor_settings.cpp

@@ -650,7 +650,7 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
 
 
 	// SSL
 	// SSL
 	_initial_set("network/ssl/editor_ssl_certificates", _SYSTEM_CERTS_PATH);
 	_initial_set("network/ssl/editor_ssl_certificates", _SYSTEM_CERTS_PATH);
-	hints["network/ssl/editor_ssl_certificates"] = PropertyInfo(Variant::STRING, "network/ssl/editor_ssl_certificates", PROPERTY_HINT_GLOBAL_FILE, "*.crt,*.pem");
+	hints["network/ssl/editor_ssl_certificates"] = PropertyInfo(Variant::STRING, "network/ssl/editor_ssl_certificates", PROPERTY_HINT_GLOBAL_FILE, "*.crt,*.pem", PROPERTY_USAGE_DEFAULT | PROPERTY_USAGE_RESTART_IF_CHANGED);
 
 
 	// HTTP Proxy
 	// HTTP Proxy
 	_initial_set("network/http_proxy/host", "");
 	_initial_set("network/http_proxy/host", "");