summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2016-08-19 12:14:16 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-08-19 18:51:25 -0400
commitec196f28e02eefb29ae6271f992776002568c3f5 (patch)
tree28bf875cb97614b9ab8311543eb13037cd675a00
parent16ae527c40fec211c3e846f645d62bf9788c5625 (diff)
delete previous wireless popup when activating editor from connection list
fixes case where newly-created popup would be deleted upon show, breaking interactions
-rw-r--r--src/modules/wireless/wireless.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/wireless/wireless.c b/src/modules/wireless/wireless.c
index bc1b1efa0..31911ba0e 100644
--- a/src/modules/wireless/wireless.c
+++ b/src/modules/wireless/wireless.c
@@ -704,6 +704,11 @@ _wireless_gadget_edit(int type)
704 Wireless_Network *wn; 704 Wireless_Network *wn;
705 705
706 if (!wc) return; 706 if (!wc) return;
707 if (wireless_popup.popup)
708 {
709 evas_object_hide(wireless_popup.popup);
710 evas_object_del(wireless_popup.popup);
711 }
707 wireless_edit[0] = E_NEW(Wireless_Connection, 1); 712 wireless_edit[0] = E_NEW(Wireless_Connection, 1);
708 wireless_edit[1] = E_NEW(Wireless_Connection, 1); 713 wireless_edit[1] = E_NEW(Wireless_Connection, 1);
709 wn = E_NEW(Wireless_Network, 1); 714 wn = E_NEW(Wireless_Network, 1);