Pin tool should select only points.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-03-21 15:25:25 +02:00
parent dccdef56eb
commit 699adc56bb

View File

@ -996,7 +996,7 @@ void MainWindow::ToolPiecePath(bool checked)
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
void MainWindow::ToolPin(bool checked) void MainWindow::ToolPin(bool checked)
{ {
ToolSelectAllDrawObjects(); ToolSelectPointByRelease();
SetToolButton<DialogPin>(checked, Tool::Pin, "://cursor/pin_cursor.png", tr("Select pin point"), SetToolButton<DialogPin>(checked, Tool::Pin, "://cursor/pin_cursor.png", tr("Select pin point"),
&MainWindow::ClosedDialogPin); &MainWindow::ClosedDialogPin);
} }