Commit 53f3777
networkmanager: Fix device connection button
Commit 5c7b284 broke the "connect device" button. Fix the initial
condition in connect() to what we had before that commit: we can connect
if there is either a MainConnection that we can activate, or a device
with ghost settings. (Thanks to Marius Vollmer for this).
Also fix the modify call, `self.dev` is not a thing.
https://bugzilla.redhat.com/show_bug.cgi?id=19468741 parent 9c96e91 commit 53f3777
File tree
2 files changed
+10
-2
lines changed- pkg/networkmanager
- test/verify
2 files changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
84 | 92 | | |
85 | 93 | | |
86 | 94 | | |
| |||
0 commit comments