summaryrefslogtreecommitdiff
path: root/legacy
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2011-10-25 11:47:18 +0000
committerCarsten Haitzler <raster@rasterman.com>2011-10-25 11:47:18 +0000
commit6dfabc67a19a0ec1c0d3cc3ce1be878ccc21f603 (patch)
tree58a631d0135833418cf6a818463c0f706cd976fb /legacy
parentbcaa2831d297e665d442cba631ba4ae12712d48d (diff)
oops and dont return always if file and autosave. just do necessary
logic. SVN revision: 64385
Diffstat (limited to 'legacy')
-rw-r--r--legacy/elementary/src/lib/elm_entry.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/legacy/elementary/src/lib/elm_entry.c b/legacy/elementary/src/lib/elm_entry.c
index ecefe9dd9b..0d0fea09b6 100644
--- a/legacy/elementary/src/lib/elm_entry.c
+++ b/legacy/elementary/src/lib/elm_entry.c
@@ -1414,8 +1414,8 @@ _entry_changed_common_handling(void *data, const char *event)
1414 } 1414 }
1415 evas_event_thaw(evas_object_evas_get(data)); 1415 evas_event_thaw(evas_object_evas_get(data));
1416 evas_event_thaw_eval(evas_object_evas_get(data)); 1416 evas_event_thaw_eval(evas_object_evas_get(data));
1417 if ((!wd->autosave) || (!wd->file)) return; 1417 if ((wd->autosave) && (wd->file))
1418 wd->delay_write = ecore_timer_add(2.0, _delay_write, data); 1418 wd->delay_write = ecore_timer_add(2.0, _delay_write, data);
1419 /* callback - this could call callbacks that delete the entry... thus... 1419 /* callback - this could call callbacks that delete the entry... thus...
1420 * any access to wd after this could be invalid */ 1420 * any access to wd after this could be invalid */
1421 evas_object_smart_callback_call(data, event, NULL); 1421 evas_object_smart_callback_call(data, event, NULL);