Fix loading background image.

Drag and drop doesn't work for new pattern file.
This commit is contained in:
Roman Telezhynskyi 2022-10-04 17:11:11 +03:00
parent 704d9caf08
commit 2eaecc747c
3 changed files with 4 additions and 0 deletions

View file

@ -1,6 +1,7 @@
# Valentina 0.7.53 (unreleased)
- Fix layout sheet export with empty name.
- Fix visualization for tool Point from circle and tangent.
- Fix loading background image.
# Valentina 0.7.52 September 12, 2022
- Fix crash when default locale is ru.

View file

@ -4338,6 +4338,8 @@ void MainWindow::on_actionNew_triggered()
m_curFileFormatVersionStr = VPatternConverter::PatternMaxVerStr;
ToolBarOption();
m_sceneDraw->SetAcceptDrop(true);
}
else
{

View file

@ -674,6 +674,7 @@ void VMainGraphicsView::dragEnterEvent(QDragEnterEvent *event)
}
}
}
QGraphicsView::dragEnterEvent(event);
}
//---------------------------------------------------------------------------------------------------------------------