Commit 58a71631 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Use the title for the resource name to display if available

parent d77aa98c
......@@ -101,7 +101,7 @@ QString SnapResource::longDescription()
QString SnapResource::name()
{
return m_snap->name();
return m_snap->title().isEmpty() ? m_snap->name() : m_snap->title();
}
QString SnapResource::origin() const
......
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