[TIZENIOT-2337] Fixed renaming issue in image-viewer. 39/252139/1 submit/tizen_6.0_hotfix/20210123.062023
authormohitkr1 <mohit.kr1@samsung.com>
Wed, 6 Jan 2021 07:11:05 +0000 (12:41 +0530)
committerMohit Kumar <mohit.kr1@samsung.com>
Sat, 23 Jan 2021 06:11:23 +0000 (06:11 +0000)
Change-Id: I1dd4a929b256b5264e16cfefb48cb85ed3e23274
Signed-off-by: mohitkr1 <mohit.kr1@samsung.com>
(cherry picked from commit 22a5b7cd06aacc3a572f2cb34d09c05d7d60816f)
(cherry picked from commit 4f6f485f482f9c0abedc07795568b0897d2e2a9b)

src/main/view/ivug-main-view-menu.cpp [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 410509b..b06c556
@@ -265,7 +265,7 @@ static bool _rename(Media_Data *mdata, const char *str)
 {
        IV_ASSERT(mdata != NULL);
 
-       if (mdata->filepath == NULL || mdata->thumbnail_path == NULL) {
+       if (mdata->filepath == NULL) {
                MSG_MAIN_ERROR("filepath is NULL");
                return false;
        }