Fixed crash after RecordField deleted 40/97240/2
authorNataliia Kamyshna <n.kamyshna@samsung.com>
Fri, 11 Nov 2016 12:50:25 +0000 (14:50 +0200)
committerNataliia Kamyshna <n.kamyshna@samsung.com>
Mon, 14 Nov 2016 09:56:40 +0000 (11:56 +0200)
Change-Id: Iecd817a75dbf391a2b9364834b2ea07ed0b35f41
Signed-off-by: Nataliia Kamyshna <n.kamyshna@samsung.com>
memo-app/src/Input/InputView.cpp

index 2b748061370ff0fb3b4847e9ba589f8ec0269648..c1b1d875353af2b56490833d56eca8a2db946a06 100644 (file)
@@ -378,6 +378,7 @@ void InputView::onContentChanged(bool isEmpty)
 void InputView::onRecordFieldDelete()
 {
        m_Memo.removeSoundRecord();
+       m_RecordField = nullptr;
        onMemoChanged();
 }