Commit 3ec68c67 authored by Jan Möbius's avatar Jan Möbius

Added object names to toolbars to avoid problems when saving states

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@14162 383ad7c9-94d9-4d36-a494-682f7c89f535
parent e4483cb2
...@@ -187,6 +187,7 @@ void MovePlugin::pluginsInitialized() { ...@@ -187,6 +187,7 @@ void MovePlugin::pluginsInitialized() {
//TOOLBAR //TOOLBAR
toolbar_ = new QToolBar(tr("Transform and Move")); toolbar_ = new QToolBar(tr("Transform and Move"));
toolbar_->setObjectName("TransformAndMoveToolBar");
toolBarActions_ = new QActionGroup(toolbar_); toolBarActions_ = new QActionGroup(toolbar_);
...@@ -206,7 +207,9 @@ void MovePlugin::pluginsInitialized() { ...@@ -206,7 +207,9 @@ void MovePlugin::pluginsInitialized() {
emit addToolbar(toolbar_); emit addToolbar(toolbar_);
pickToolbar_ = new QToolBar(tr("Transform and Move")); pickToolbar_ = new QToolBar(tr("Transform and Move PickTool bar"));
pickToolbar_->setObjectName("TransformAndMovePickToolBar");
pickToolbar_->setAttribute(Qt::WA_AlwaysShowToolTips, true); pickToolbar_->setAttribute(Qt::WA_AlwaysShowToolTips, true);
pickToolBarActions_ = new QActionGroup(pickToolbar_); pickToolBarActions_ = new QActionGroup(pickToolbar_);
pickToolBarActions_->setExclusive (false); pickToolBarActions_->setExclusive (false);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment