copy/paste work correctly. Issue 4

preferencesAboutTextFull
Claudio Valerio 12 years ago
parent 82453e5136
commit 338a697820
  1. 6
      src/board/UBBoardController.cpp

@ -2220,11 +2220,7 @@ void UBBoardController::copy()
UBItem* ubItem = dynamic_cast<UBItem*>(gi); UBItem* ubItem = dynamic_cast<UBItem*>(gi);
if (ubItem && !mActiveScene->tools().contains(gi)) if (ubItem && !mActiveScene->tools().contains(gi))
{ selected << ubItem;
UBItem *itemCopy = ubItem->deepCopy();
if (itemCopy)
selected << itemCopy;
}
} }
if (selected.size() > 0) if (selected.size() > 0)

Loading…
Cancel
Save