Fixed bug disabling tool True darts.

--HG--
branch : release
This commit is contained in:
Roman Telezhynskyi 2016-02-22 11:15:54 +02:00
parent 228c90c6ab
commit bb053e03f4
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,5 @@
# Version 0.4.3 # Version 0.4.3
- Fixed bug disabling tool True darts.
- Fixed wrong calculation tool True darts. - Fixed wrong calculation tool True darts.
- [#405] Fixed crash after deleting first pattern piece in the list. - [#405] Fixed crash after deleting first pattern piece in the list.

View File

@ -128,8 +128,8 @@ void VToolDoublePoint::Disable(bool disable, const QString &namePP)
{ {
enabled = !CorrectDisable(disable, namePP); enabled = !CorrectDisable(disable, namePP);
this->SetEnabled(enabled); this->SetEnabled(enabled);
firstPoint->setEnabled(enabled); firstPoint->SetEnabled(enabled);
secondPoint->setEnabled(enabled); secondPoint->SetEnabled(enabled);
} }
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------