Skip to content

Commit

Permalink
bugfix #145 merged back from 0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
ArsMasiuk committed Mar 8, 2021
1 parent 93aef92 commit 887863e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGES
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
QVGE 0.6.x.Master
-------------------------------------------------------------------------------
Bugfixes:
- #130, #139, #140, #141
- #130, #139, #140, #141, #145



Expand Down
3 changes: 3 additions & 0 deletions src/qvgeioui/CImageExportDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ void CImageExportDialog::setScene(CEditorScene& scene)

void CImageExportDialog::updateTargetSize()
{
if (!m_scene)
return;

QSize size = m_scene->sceneRect().size().toSize();
if (cutToContent())
size = m_scene->itemsBoundingRect().adjusted(-20, -20, 20, 20).size().toSize();
Expand Down

0 comments on commit 887863e

Please sign in to comment.