Tool line. Block selecting the same point twice.

--HG--
branch : release
This commit is contained in:
Roman Telezhynskyi 2016-02-09 14:45:31 +02:00
parent 4774a37d43
commit aee23cf700
2 changed files with 9 additions and 5 deletions

View File

@ -1,4 +1,5 @@
# 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;