Fix unchanged hide button when edit deleted[N_SE-35606]
authorTaejun <tj.twt.park@samsung.com>
Mon, 22 Apr 2013 01:35:04 +0000 (10:35 +0900)
committerTaejun <tj.twt.park@samsung.com>
Mon, 22 Apr 2013 01:35:04 +0000 (10:35 +0900)
Change-Id: Ib8d696c7e63907518b488e82d8e95a868be45c31

src/ui/controls/FUiCtrl_EditPresenter.cpp

index 2194639..94a718f 100644 (file)
@@ -1002,6 +1002,17 @@ _EditPresenter::Dispose(void)
                        __pCommandButton = null;
                }
 
+               if (__clipboardConnected)
+               {
+                       __pClipboard->HidePopup();
+                       __isClipboardExist = false;
+
+                       if (__pParentForm)
+                       {
+                               __pParentForm->SetClipboardShowState(false);
+                       }
+               }
+
                if (__pParentForm)
                {
                        SysLog(NID_UI_CTRL, "[EDIT] Form deflate RESET!!!!!!!!!!");
@@ -1031,12 +1042,6 @@ _EditPresenter::Dispose(void)
                __initialFooterVisibleStatus = EDIT_FOOTER_VISIBLE_STATUS_NONE;
        }
 
-       if (__clipboardConnected)
-       {
-               __pClipboard->HidePopup();
-               __isClipboardExist = false;
-       }
-
        if (__pClipboard)
        {
                __pClipboard->RemoveClipboardPopupEventListener(*this);