Commit 0e71c95f authored by Nate Graham's avatar Nate Graham
Browse files

Show page size field in Properties dialog when there are multiple sizes

Currently when a document has multiple page sizes, the Properties dialog
does not show the "Page Size" field at all. This MR populates the field
with the string "Multiple" for documents with multiple page sizes.
parent b8b36ae5
Pipeline #21419 passed with stage
in 17 minutes and 5 seconds
...@@ -167,7 +167,7 @@ QString DocumentPrivate::pagesSizeString() const ...@@ -167,7 +167,7 @@ QString DocumentPrivate::pagesSizeString() const
{ {
QSizeF size = m_parent->allPagesSize(); QSizeF size = m_parent->allPagesSize();
if (size.isValid()) return localizedSize(size); if (size.isValid()) return localizedSize(size);
else return QString(); else return i18nc("Used in this context: 'Page sizes: Multiple'", "Multiple");
} }
else return QString(); else return QString();
} }
......
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