Fix the visibility in CropScene

This commit is contained in:
ArsenArsen 2017-07-16 19:47:24 +02:00
parent 7f9db557f9
commit be68aa1f5b
2 changed files with 0 additions and 2 deletions

View File

@ -1 +0,0 @@
bt

View File

@ -162,7 +162,6 @@ void CropScene::setVisible(bool visible) {
for (auto view : views()) {
if (view->isVisible()) fullscreen |= view->isFullScreen();
view->setVisible(visible);
if (fullscreen) view->showFullScreen();
if (visible) {
view->resize(_pixmap.width(), _pixmap.height());
view->setMinimumSize(_pixmap.size());