Removed un-necessary checks 88/150388/1
authorKapil Jhuria <kapil.jhuria@samsung.com>
Fri, 15 Sep 2017 09:32:10 +0000 (15:02 +0530)
committerKapil Jhuria <kapil.jhuria@samsung.com>
Fri, 15 Sep 2017 10:07:02 +0000 (10:07 +0000)
Change-Id: Ia368a13479c0e5518853ec4b0aa5883009524281
(cherry picked from commit 1a8c18dd851bda8e928fa780c2771c12175f3946)

src/gallery-efl.c

index 085a364..b5786a2 100644 (file)
@@ -617,9 +617,6 @@ static void _ge_message(ui_gadget_h ug, app_control_h msg,
 
                if (display_mode) {
                        if (!strcmp(display_mode, "single")) {
-                               if (!ugd->b_multifile) {
-                                       return;
-                               }
                                //change to single selection
                                ge_dbg("single_selection ");
                                if (ugd->nocontents) {
@@ -647,9 +644,6 @@ static void _ge_message(ui_gadget_h ug, app_control_h msg,
                                                                                                         EINA_FALSE,
                                                                                                         EINA_FALSE);
                        } else if (!strcmp(display_mode, "multiple")) {
-                               if (ugd->b_multifile) {
-                                       return;
-                               }
                                //change to multi selection
                                ge_dbg("multiple_selection");
                                if (ugd->nocontents) {