fixed addItemToLibrary methods

preferencesAboutTextFull
Claudio Valerio 13 years ago
parent 7bda3cd76b
commit b264964c4e
  1. 4
      src/board/UBBoardPaletteManager.cpp

@ -562,7 +562,9 @@ void UBBoardPaletteManager::addItemToLibrary()
, Qt::KeepAspectRatio, Qt::SmoothTransformation);
}
QImage image = mPixmap.toImage();
//UBApplication::boardController->libraryController()->importImageOnLibrary(image);
// TODO:Claudio
// This is a wrong way of calling importImageOnLibrary but for the moment it works because element on mRightPalette are predefined.
mRightPalette->libWidget()->libNavigator()->libraryWidget()->libraryController()->importImageOnLibrary(image);
}
else

Loading…
Cancel
Save