Don't allow move if we use tool.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-02-13 11:33:20 +02:00
parent d8371aa04e
commit 0ec2748293

View File

@ -300,7 +300,7 @@ void MainWindow::SetToolButton(bool checked, Tool t, const QString &cursor, cons
if (checked) if (checked)
{ {
CancelTool(); CancelTool();
emit EnableItemMove(true); emit EnableItemMove(false);
tool = t; tool = t;
QPixmap pixmap(cursor); QPixmap pixmap(cursor);
QCursor cur(pixmap, 2, 3); QCursor cur(pixmap, 2, 3);