network: remove incorrect assertion that breaks proxy settings page
When the proxy switch is flipped from enabled to disabled, we assert that there are no unmodified settings to be flushed to GSettings. This is wrong because it's expected that settings will not be flushed if the user did not yet press Save. Fixes #2996
This commit is contained in:
parent
7007aaabe0
commit
82986f3e92
1 changed files with 0 additions and 3 deletions
|
@ -458,9 +458,6 @@ cc_net_proxy_page_set_enabled (CcNetProxyPage *self,
|
|||
|
||||
g_return_if_fail (CC_IS_NET_PROXY_PAGE (self));
|
||||
|
||||
/* Proxy should not have changed when enabling/disabling */
|
||||
g_return_if_fail (!cc_net_proxy_page_has_modified (self));
|
||||
|
||||
mode = g_settings_get_enum (self->settings, "mode");
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue