fixed issue 937

preferencesAboutTextFull
Claudio Valerio 12 years ago
parent da8c496f3e
commit 15b4c68016
  1. BIN
      resources/images/toolbar/group.png
  2. BIN
      resources/images/toolbar/ungroup.png
  3. 2
      src/board/UBBoardController.cpp
  4. 4
      src/core/UBSettings.cpp

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

@ -880,11 +880,13 @@ void UBBoardController::groupButtonClicked()
}
if (groupAction->text() == UBSettings::settings()->actionGroupText) { //The only way to get information from item, considering using smth else
groupAction->setIcon(QIcon(":images/toolbar/ungroup.png"));
UBGraphicsGroupContainerItem *groupItem = activeScene()->createGroup(selItems);
groupItem->setSelected(true);
UBDrawingController::drawingController()->setStylusTool(UBStylusTool::Selector);
} else if (groupAction->text() == UBSettings::settings()->actionUngroupText) {
groupAction->setIcon(QIcon(":images/toolbar/group.png"));
//Considering one selected item and it's a group
if (selItems.count() > 1) {
qDebug() << "can't make sense of ungrouping more then one item. Grouping action should be performed for that purpose";

@ -399,8 +399,8 @@ void UBSettings::init()
libIconSize = new UBSetting(this, "Library", "LibIconSize", defaultLibraryIconSize);
actionGroupText = "Group items";
actionUngroupText = "Ungroup items";
actionGroupText = "Group";
actionUngroupText = "Ungroup";
}

Loading…
Cancel
Save