Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Make tool box section names consistent

Luna Lovecraft1497ca6f56a5
diff --git a/libs/flake/KoToolFactoryBase.h b/libs/flake/KoToolFactoryBase.h
index 8d0c3acfed..81fc41e21b 100644
--- a/libs/flake/KoToolFactoryBase.h
+++ b/libs/flake/KoToolFactoryBase.h
@@ -25,13 +25,13 @@ class QAction;
* Each tool has a "section" which it uses to be grouped in the toolbox.
*/
namespace ToolBoxSection {
- static const QString Main {"main"}; ///< Tools that only work on vector shapes
- static const QString Shape {"0 Krita/Shape"}; ///< Freehand and shapes like ellipses and lines
+ static const QString Main {"0 main"}; ///< Tools that only work on vector shapes
+ static const QString Shape {"1 Krita/Shape"}; ///< Freehand and shapes like ellipses and lines
static const QString Transform {"2 Krita/Transform"}; ///< Tools that transform the layer
static const QString Fill {"3 Krita/Fill"}; ///< Tools that fill parts of the canvas
static const QString View {"4 Krita/View"}; ///< Assistance tools: guides, reference, etc.
static const QString Select {"5 Krita/Select"}; ///< Tools that select pixels
- static const QString Navigation {"navigation"}; ///< Tools that affect the canvas: pan, zoom, etc.
+ static const QString Navigation {"6 navigation"}; ///< Tools that affect the canvas: pan, zoom, etc.
}
/**