Correctly enables/disables axonometric tab when axonometric view added/removed.

This commit is contained in:
j-dowsett 2013-11-27 17:45:55 +00:00
parent fe5884aa85
commit ad9c33b9d6
2 changed files with 5 additions and 4 deletions

View File

@ -447,6 +447,7 @@ TaskOrthoViews::TaskOrthoViews(QWidget *parent)
inputs[2] = ui->y_2;
inputs[3] = ui->spacing_h_3;
inputs[4] = ui->spacing_v_4;
ui->tabWidget->setTabEnabled(1,false);
for (int i=0; i < 5; i++)
connect(inputs[i], SIGNAL(editingFinished()), this, SLOT(data_entered()));

View File

@ -501,7 +501,7 @@
</widget>
<widget class="QWidget" name="axoTab">
<property name="enabled">
<bool>false</bool>
<bool>true</bool>
</property>
<attribute name="title">
<string>Axonometric</string>
@ -512,7 +512,7 @@
<item row="0" column="1">
<widget class="QComboBox" name="axoProj">
<property name="enabled">
<bool>false</bool>
<bool>true</bool>
</property>
<item>
<property name="text">
@ -572,7 +572,7 @@
<item row="1" column="1">
<widget class="QComboBox" name="axoTop">
<property name="enabled">
<bool>false</bool>
<bool>true</bool>
</property>
<item>
<property name="text">
@ -609,7 +609,7 @@
<item row="2" column="1">
<widget class="QComboBox" name="axoLeft">
<property name="enabled">
<bool>false</bool>
<bool>true</bool>
</property>
<item>
<property name="text">