issue #654 tape : standard changed to multisize in the GUI
--HG-- branch : develop
This commit is contained in:
parent
052896b960
commit
5b79acd2bb
|
@ -183,7 +183,7 @@ void DialogNewMeasurements::InitMTypes()
|
||||||
ui->comboBoxMType->blockSignals(true);
|
ui->comboBoxMType->blockSignals(true);
|
||||||
ui->comboBoxMType->clear();
|
ui->comboBoxMType->clear();
|
||||||
ui->comboBoxMType->addItem(tr("Individual"), static_cast<int>(MeasurementsType::Individual));
|
ui->comboBoxMType->addItem(tr("Individual"), static_cast<int>(MeasurementsType::Individual));
|
||||||
ui->comboBoxMType->addItem(tr("Standard"), static_cast<int>(MeasurementsType::Standard));
|
ui->comboBoxMType->addItem(tr("Multisize"), static_cast<int>(MeasurementsType::Standard));
|
||||||
ui->comboBoxMType->blockSignals(false);
|
ui->comboBoxMType->blockSignals(false);
|
||||||
|
|
||||||
int index = ui->comboBoxMType->findData(val);
|
int index = ui->comboBoxMType->findData(val);
|
||||||
|
|
|
@ -2848,7 +2848,7 @@ bool TMainWindow::LoadFromExistingFile(const QString &path)
|
||||||
|
|
||||||
if (mType == MeasurementsType::Standard)
|
if (mType == MeasurementsType::Standard)
|
||||||
{
|
{
|
||||||
VException e(tr("Export from standard measurements is not supported."));
|
VException e(tr("Export from multisize measurements is not supported."));
|
||||||
throw e;
|
throw e;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
@ -850,7 +850,7 @@
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>835</width>
|
<width>835</width>
|
||||||
<height>25</height>
|
<height>19</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QMenu" name="menuFile">
|
<widget class="QMenu" name="menuFile">
|
||||||
|
@ -1132,7 +1132,7 @@
|
||||||
<normaloff>.</normaloff>.</iconset>
|
<normaloff>.</normaloff>.</iconset>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Open standard ...</string>
|
<string>Open multisize ...</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="menuRole">
|
<property name="menuRole">
|
||||||
<enum>QAction::NoRole</enum>
|
<enum>QAction::NoRole</enum>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user