diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2017-12-19 12:17:30 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2017-12-19 13:19:24 +0100 |
commit | a3e9cedb62f29b61859a8474f0010e6f94912848 (patch) | |
tree | 046354fac269289b00d3f4c85679a380cc8b70d4 | |
parent | bc1f40adba687de01cd9932b7f7fd6b67a19cf25 (diff) | |
download | network-manager-applet-a3e9cedb62f29b61859a8474f0010e6f94912848.tar.gz |
Revert "editor: correctly set connection list button sensitivity"
This reverts commit f534599905e3f295eaed9330af00609fd2666d45.
It's not cool to grey out the whole dialog if the Save button is not
actionable. The button might be greyed out because the connection is not
valid (e.g. missing a name) and this would remove a chance to fix it.
-rw-r--r-- | src/connection-editor/nm-connection-editor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connection-editor/nm-connection-editor.c b/src/connection-editor/nm-connection-editor.c index 4997bad2..e6f2ccff 100644 --- a/src/connection-editor/nm-connection-editor.c +++ b/src/connection-editor/nm-connection-editor.c @@ -166,7 +166,7 @@ update_sensitivity (NMConnectionEditor *editor) /* If the user cannot ever be authorized to change system connections, * we desensitize the entire dialog. */ - sensitive = actionable && authorized; + sensitive = authorized; } /* Cancel button is always sensitive */ |