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)
{
CancelTool();
emit EnableItemMove(true);
emit EnableItemMove(false);
tool = t;
QPixmap pixmap(cursor);
QCursor cur(pixmap, 2, 3);