This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch devs/devilhorns/apos
in repository efl.

View the commit online.

commit 3a8f750a1d41ea052e553927c43df5048d25ed57
Author: dimmus <dmitri.chudi...@gmail.com>
AuthorDate: Wed Nov 15 19:34:51 2023 +0500

    elm-config: correct wrong "if" statement
    
    If nothing is selected then nothing to disable.
    "If" statement did not work here until now.
    
    Test:
    1. Run elementary_config from terminal.
    2. Select Profile menu item (make no clicks on any item).
    4. Close the app.
    3. Verify the error log messages before to and following the patch.
    
    @fixed
---
 src/bin/elementary/config.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/elementary/config.c b/src/bin/elementary/config.c
index ced93bd32c..3c85686431 100644
--- a/src/bin/elementary/config.c
+++ b/src/bin/elementary/config.c
@@ -3376,7 +3376,7 @@ _profiles_list_unselect_cb(void *data       EINA_UNUSED,
                            Evas_Object     *obj,
                            void *event_info EINA_UNUSED)
 {
-   if (elm_list_selected_item_get(obj)) return;
+   if (!elm_list_selected_item_get(obj)) return;
    elm_object_disabled_set(evas_object_data_get(obj, "prof_del_btn"),
                            EINA_TRUE);
    elm_object_disabled_set(evas_object_data_get(obj, "prof_reset_btn"),

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to