Tiled pdf should work only with standard formats.
--HG-- branch : develop
This commit is contained in:
parent
0f59db15db
commit
0da31099f3
|
@ -166,8 +166,11 @@ void DialogSaveLayout::InitTemplates(QComboBox *comboBoxTemplates)
|
|||
SCASSERT(comboBoxTemplates != nullptr)
|
||||
VAbstractLayoutDialog::InitTemplates(comboBoxTemplates);
|
||||
|
||||
// remove the custom format,
|
||||
comboBoxTemplates->removeItem(comboBoxTemplates->findData(static_cast<int>(PaperSizeTemplate::Custom)));
|
||||
// remove unused formats
|
||||
for (int i = static_cast<int>(PaperSizeTemplate::Roll24in); i <= static_cast<int>(PaperSizeTemplate::Custom); ++i)
|
||||
{
|
||||
comboBoxTemplates->removeItem(comboBoxTemplates->findData(i));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user