Tool line. Block selecting the same point twice.

(grafted from 0029c3e3b5ae45d21f834f0d36023d8ef9734345)

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-02-09 17:19:14 +02:00
parent 863b62cd6e
commit aa64076a36
2 changed files with 9 additions and 5 deletions

View File

@ -6,6 +6,7 @@
- [#325] Check pattern for inverse compatibility. - [#325] Check pattern for inverse compatibility.
# Version 0.4.2 # Version 0.4.2
- Tool line. Block selecting the same point twice.
- [#443] Not valid dxf file. libdxf updated to version 3.12.2.0. Fixed drawing subpaths. - [#443] Not valid dxf file. libdxf updated to version 3.12.2.0. Fixed drawing subpaths.
- Fixed combobox width in Dialog "Tool True Dart point". - Fixed combobox width in Dialog "Tool True Dart point".
- [#441] Broken reference incrementation for tool "True Dart point". - [#441] Broken reference incrementation for tool "True Dart point".

View File

@ -182,6 +182,8 @@ void DialogLine::ChosenObject(quint32 id, const SceneObject &type)
} }
break; break;
case 1: case 1:
if (getCurrentObjectId(ui->comboBoxFirstPoint) != id)
{
if (SetObject(id, ui->comboBoxSecondPoint, "")) if (SetObject(id, ui->comboBoxSecondPoint, ""))
{ {
if (flagError) if (flagError)
@ -191,6 +193,7 @@ void DialogLine::ChosenObject(quint32 id, const SceneObject &type)
DialogAccepted(); DialogAccepted();
} }
} }
}
break; break;
default: default:
break; break;