summaryrefslogtreecommitdiff
path: root/src/bin/e_config_dialog.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-08-24 06:53:32 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-08-24 06:53:32 +0000
commit2108b94570cabc5088ee0898e283dbb68ead5518 (patch)
treeeddc6507bc538cc05bfad8e5ccf3798dbe788ea8 /src/bin/e_config_dialog.c
parentc7b6d843477fb55218cd791bba7ebf2530b15b32 (diff)
downloadenlightenment-2108b94570cabc5088ee0898e283dbb68ead5518.tar.gz
don't check dialog changed if just creating dialog
SVN revision: 75640
Diffstat (limited to 'src/bin/e_config_dialog.c')
-rw-r--r--src/bin/e_config_dialog.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bin/e_config_dialog.c b/src/bin/e_config_dialog.c
index 6b6147d10b..099a03d149 100644
--- a/src/bin/e_config_dialog.c
+++ b/src/bin/e_config_dialog.c
@@ -179,6 +179,7 @@ _e_config_dialog_go(E_Config_Dialog *cfd, E_Config_Dialog_CFData_Type type)
Evas_Object *o, *ob, *sf;
Evas_Coord mw = 0, mh = 0;
char buf[256];
+ void *cfdata;
pdia = cfd->dia;
/* FIXME: get name/class form new call and use here */
@@ -203,6 +204,7 @@ _e_config_dialog_go(E_Config_Dialog *cfd, E_Config_Dialog_CFData_Type type)
cfd->view_type = type;
cfd->dia->data = cfd;
e_dialog_title_set(cfd->dia, cfd->title);
+ cfdata = cfd->cfdata;
if (!cfd->cfdata) cfd->cfdata = cfd->view->create_cfdata(cfd);
evas = e_win_evas_get(cfd->dia->win);
@@ -287,7 +289,7 @@ _e_config_dialog_go(E_Config_Dialog *cfd, E_Config_Dialog_CFData_Type type)
_e_config_dialog_cb_close, cfd);
}
- if (cfd->cfg_changed_auto)
+ if (cfdata && cfd->cfg_changed_auto)
{
int changed;