X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fapplicationwindow.cpp;h=866750d82fc8dce1326ff8b007be6bf8045a80fd;hb=8fdd047c1ee3688f5538cae30e0acc98b96a2150;hp=5a435a21ae3e6bfe8d82cffdf3408afaa9181f82;hpb=8d80165e3ab9173b8689b3b3420b40bf3020161f;p=architektonas diff --git a/src/applicationwindow.cpp b/src/applicationwindow.cpp index 5a435a2..866750d 100644 --- a/src/applicationwindow.cpp +++ b/src/applicationwindow.cpp @@ -420,6 +420,7 @@ void ApplicationWindow::SetInternalToolStates(void) // We can be sure that if we've come here, then either an active tool is // being deactivated, or a new tool is being created. In either case, the // old tool needs to be deleted. + Global::toolState = TSNone; #if 0 if (drawing->toolAction) { @@ -546,6 +547,7 @@ else container->state = OSSelected; statusBar()->showMessage(QString(tr("Grouped %1 objects.")).arg(itemsSelected)); } +#else #endif drawing->update(); @@ -617,6 +619,7 @@ printf(" -> intersects = %i, t=%lf, u=%lf\n", intersects, t, u); } } } +#else #endif }