From bb053e03f40c585d796489a4b0536a29495664f0 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Mon, 22 Feb 2016 11:15:54 +0200 Subject: [PATCH] Fixed bug disabling tool True darts. --HG-- branch : release --- ChangeLog.txt | 1 + .../drawTools/toolpoint/tooldoublepoint/vtooldoublepoint.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index 18c04a6c8..5722824dd 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,4 +1,5 @@ # 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. diff --git a/src/libs/vtools/tools/drawTools/toolpoint/tooldoublepoint/vtooldoublepoint.cpp b/src/libs/vtools/tools/drawTools/toolpoint/tooldoublepoint/vtooldoublepoint.cpp index 66b67a6c5..a66d91320 100644 --- a/src/libs/vtools/tools/drawTools/toolpoint/tooldoublepoint/vtooldoublepoint.cpp +++ b/src/libs/vtools/tools/drawTools/toolpoint/tooldoublepoint/vtooldoublepoint.cpp @@ -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); } //---------------------------------------------------------------------------------------------------------------------