[TD] some Detail View fixes
see https://forum.freecadweb.org/viewtopic.php?f=35&t=45236&p=388925#p388925 for a description of the changes
This commit is contained in:
@@ -238,17 +238,17 @@ void TaskProjGroup::projectionTypeChanged(int index)
|
||||
|
||||
void TaskProjGroup::scaleTypeChanged(int index)
|
||||
{
|
||||
if(blockUpdate)
|
||||
if (blockUpdate)
|
||||
return;
|
||||
|
||||
//defaults to prevent scale changing
|
||||
ui->sbScaleNum->setEnabled(false);
|
||||
ui->sbScaleDen->setEnabled(false);
|
||||
|
||||
if(index == 0) {
|
||||
if (index == 0) {
|
||||
// Document Scale Type
|
||||
multiView->ScaleType.setValue("Page");
|
||||
} else if(index == 1) {
|
||||
} else if (index == 1) {
|
||||
// Automatic Scale Type
|
||||
//block recompute
|
||||
multiView->ScaleType.setValue("Automatic");
|
||||
@@ -256,7 +256,7 @@ void TaskProjGroup::scaleTypeChanged(int index)
|
||||
multiView->Scale.setValue(autoScale);
|
||||
//unblock recompute
|
||||
|
||||
} else if(index == 2) {
|
||||
} else if (index == 2) {
|
||||
// Custom Scale Type
|
||||
//block recompute
|
||||
multiView->ScaleType.setValue("Custom");
|
||||
|
||||
Reference in New Issue
Block a user