mirror of
https://gitlab.com/smart-pattern/valentina.git
synced 2024-09-28 19:31:32 +02:00
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 a new issue