network: Really really fix cloned MAC support

And now that we're reading a text entry, read the correct one 🙄
Follow-up to a2a70c7
This commit is contained in:
Bastien Nocera 2018-02-16 13:23:20 +01:00
parent 9b9e0e076a
commit 6df5cc00ce

View file

@ -96,7 +96,7 @@ ui_to_setting (CEPageEthernet *page)
device_mac = ce_page_trim_address (text);
}
text = gtk_entry_get_text (GTK_ENTRY (entry));
text = gtk_entry_get_text (GTK_ENTRY (page->cloned_mac));
cloned_mac = ce_page_trim_address (text);
g_object_set (page->setting_wired,