Commit e8f2134a authored by Aurimas Černius's avatar Aurimas Černius

Use text_content from NoteBase when no buffer

parent bf07cede
......@@ -669,7 +669,7 @@ namespace gnote {
Glib::ustring Note::text_content()
if(!m_buffer) {
return NoteBase::text_content();
return m_buffer->get_slice(m_buffer->begin(), m_buffer->end());
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment