Fix regression in Pattern properties dialog. Tab Security is disabled for pattern with individual measurements.

This commit is contained in:
Roman Telezhynskyi 2021-01-30 20:43:30 +02:00
parent cf785a8cde
commit 4ee901d97c
2 changed files with 1 additions and 4 deletions

View File

@ -3,6 +3,7 @@
- Fix regression. Changing dimension value caused an infinite loop.
- Fix regression. Export to tiled PDF has no suffix.
- Fix warning about missing EUDC font om Wondows.
- Fix regression in Pattern properties dialog. Tab Security is disabled for pattern with individual measurements.
# Version 0.7.42 Jan 26, 2021
- Fix export of pattern recipe.

View File

@ -124,10 +124,6 @@ DialogPatternProperties::DialogPatternProperties(VPattern *doc, VContainer *pat
connect(bCancel, &QPushButton::clicked, this, &DialogPatternProperties::close);
ui->tabWidget->setCurrentIndex(0);
if (qApp->GetMeasurementsType() != MeasurementsType::Multisize)
{
ui->tabWidget->setTabEnabled(1, false);
}
const bool readOnly = doc->IsReadOnly();
ui->checkBoxPatternReadOnly->setChecked(readOnly);