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 12:15:31 -0400
commit287e9637a8d8e0306a3f2e3c26f91a70c75cf3fa (patch)
tree54047ab7f88e9d6051c481cc36530e03080c4db8
parent9a9e892825db826fd63964fe02eced12119002c1 (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);