diff --git a/.gitignore b/.gitignore index 53ded5f7c8..9bbde400c3 100644 --- a/.gitignore +++ b/.gitignore @@ -54,6 +54,9 @@ _deps # QtCreator shadow builds build-*/ +# CMake builds +build/ + # https://github.com/github/gitignore/blob/master/C%2B%2B.gitignore # Prerequisites *.d diff --git a/ui/imports/shared/panels/EditCroppedImagePanel.qml b/ui/imports/shared/panels/EditCroppedImagePanel.qml index 0b4045aa85..702384b929 100644 --- a/ui/imports/shared/panels/EditCroppedImagePanel.qml +++ b/ui/imports/shared/panels/EditCroppedImagePanel.qml @@ -205,9 +205,9 @@ Item { enabled: bannerCropper.sourceSize.width > 0 && bannerCropper.sourceSize.height > 0 onClicked: { - bannerCropperModal.close() - bannerPreview.setCropRect(bannerCropper.cropRect) bannerPreview.source = bannerCropper.source + bannerPreview.setCropRect(bannerCropper.cropRect) + bannerCropperModal.close() root.userSelectedImage = true } }