aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmldesigner/componentsplugin
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@theqtcompany.com>2015-09-28 16:46:24 +0200
committerAlessandro Portale <alessandro.portale@theqtcompany.com>2015-09-28 16:01:31 +0000
commitff39b02115e7d407c375723d6ff59e28f903ebfb (patch)
tree409a9027c6b351cbc2fefbd60b8e2ce30898fcc5 /src/plugins/qmldesigner/componentsplugin
parentb412eb81eafb203c59c659c1b36f94a0002c1f4e (diff)
QmlDesigner: Enabling actions for components
Change-Id: I817aa9640d7eabfa0bc0f73bbd8e666f1c046a99 Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
Diffstat (limited to 'src/plugins/qmldesigner/componentsplugin')
-rw-r--r--src/plugins/qmldesigner/componentsplugin/componentsplugin.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/qmldesigner/componentsplugin/componentsplugin.cpp b/src/plugins/qmldesigner/componentsplugin/componentsplugin.cpp
index 087fda4adef..ea995d038e4 100644
--- a/src/plugins/qmldesigner/componentsplugin/componentsplugin.cpp
+++ b/src/plugins/qmldesigner/componentsplugin/componentsplugin.cpp
@@ -40,6 +40,9 @@ namespace QmlDesigner {
ComponentsPlugin::ComponentsPlugin()
{
TabViewIndexModel::registerDeclarativeType();
+ DesignerActionManager *actionManager = &QmlDesignerPlugin::instance()->viewManager().designerActionManager();
+ actionManager->addDesignerAction(new AddTabDesignerAction);
+ actionManager->addDesignerAction(new EnterTabDesignerAction);
}
QString ComponentsPlugin::pluginName() const