Nabi issue fixes
authorSeema <seema.nagraj@samsung.com>
Thu, 25 Apr 2013 10:58:54 +0000 (16:28 +0530)
committerSeema <seema.nagraj@samsung.com>
Thu, 25 Apr 2013 10:58:54 +0000 (16:28 +0530)
Change-Id: I4b2ffffb9eff18a10e0d43db07332ec2bb95d62b
Signed-off-by: Seema <seema.nagraj@samsung.com>
src/MmAddEditCommentForm.cpp
src/MmListForm.cpp

index fdaf88c..a5144db 100644 (file)
@@ -171,7 +171,7 @@ MemoAddEditCommentForm::OnTextValueChanged(const Tizen::Ui::Control& source)
        {
                __pFooter->SetItemEnabled(0, false);
        }*/
-       if(__pComment->GetTextLength() > 0 && __pComment->GetTextLength() < 100)
+       if(__pComment->GetTextLength() > 0 && __pComment->GetTextLength() <= 100)
        {
                __pFooter->SetItemEnabled(0, true);
        }
index 31af985..742c943 100644 (file)
@@ -442,7 +442,7 @@ MemoListForm::OnSearchBarModeChanged(SearchBar& source, SearchBarMode mode)
                __pFormFooter->SetShowState(false);
                __pSearchBar->SetContentAreaSize(Dimension(GetClientAreaBounds().width, GetClientAreaBounds().height - __pSearchBar->GetHeight()));
        }
-
+       __pMemoListView->Invalidate(true);
        return;
 }