]> Shamusworld >> Repos - architektonas/blobdiff - src/applicationwindow.cpp
Tool for adding Lines works now.
[architektonas] / src / applicationwindow.cpp
index 5a435a21ae3e6bfe8d82cffdf3408afaa9181f82..866750d82fc8dce1326ff8b007be6bf8045a80fd 100644 (file)
@@ -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
 }