From a3c684114ee592343913c06a601428cc4fc78b52 Mon Sep 17 00:00:00 2001 From: "Joachim Wuttke (h)" <j.wuttke@fz-juelich.de> Date: Thu, 28 Dec 2023 09:57:10 +0100 Subject: [PATCH] in MaskGraphicsScene c'tor rm setSceneRect, which doesn't help when scene is shown again --- GUI/View/Scene/MaskGraphicsScene.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/GUI/View/Scene/MaskGraphicsScene.cpp b/GUI/View/Scene/MaskGraphicsScene.cpp index 4a2f86eddd8..34d6a91dc04 100644 --- a/GUI/View/Scene/MaskGraphicsScene.cpp +++ b/GUI/View/Scene/MaskGraphicsScene.cpp @@ -62,7 +62,6 @@ MaskGraphicsScene::MaskGraphicsScene() , m_drawing_in_progress(false) , m_mask_value(MaskFlags::MASK_ON) { - setSceneRect(0, 0, 800, 600); connect(this, &QGraphicsScene::selectionChanged, [this] { onSceneSelectionChanged(); }); } -- GitLab