Fixed bug disabling tool True darts.

(grafted from 8c5aeccb775c10068c8f20a881994b3b4fac808a)

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-02-22 11:38:18 +02:00
parent 7d991584fb
commit fcd254f08c
2 changed files with 3 additions and 2 deletions

View File

@ -10,6 +10,7 @@
- [#385] Add 'Open Recent' option in Tape.exe, 'File' dropdown menu.
# Version 0.4.3
- Fixed bug disabling tool True darts.
- Fixed wrong calculation tool True darts.
- [#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);
this->SetEnabled(enabled);
firstPoint->setEnabled(enabled);
secondPoint->setEnabled(enabled);
firstPoint->SetEnabled(enabled);
secondPoint->SetEnabled(enabled);
}
//---------------------------------------------------------------------------------------------------------------------