Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/a76d0d85c1f5b6c79087d624faef6bd507807911?style=unified&whitespace=ignore-eol You should set ROOT_URL correctly, otherwise the web may not work correctly.

fixed an issue where eraseBackground then undo would make a PDF being partly attached as a background and behave as an object

preferencesAboutTextFull
Clément Fauconnier 4 years ago
parent cb5d2dba18
commit a76d0d85c1
  1. 2
      src/domain/UBGraphicsItemUndoCommand.cpp

@ -128,7 +128,7 @@ void UBGraphicsItemUndoCommand::undo()
QGraphicsItem* item = itRemoved.next();
if (item)
{
if (UBItemLayerType::FixedBackground == item->data(UBGraphicsItemData::ItemLayerType))
if (itemLayerType::BackgroundItem == item->data(UBGraphicsItemData::itemLayerType))
mScene->setAsBackgroundObject(item);
else
mScene->addItem(item);

Loading…
Cancel
Save