From 909c61b331448baae8e809ca4e5b68da742adb13 Mon Sep 17 00:00:00 2001 From: Dmitry Yurov <d.yurov@fz-juelich.de> Date: Wed, 20 Jun 2018 08:21:38 +0200 Subject: [PATCH] Fixed bug in presentation selection process Redmine: #2051 --- GUI/coregui/Models/JobItem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GUI/coregui/Models/JobItem.cpp b/GUI/coregui/Models/JobItem.cpp index 01910eaaaff..03f451da3e1 100644 --- a/GUI/coregui/Models/JobItem.cpp +++ b/GUI/coregui/Models/JobItem.cpp @@ -66,7 +66,7 @@ JobItem::JobItem() : SessionItem(Constants::JobItemType) addProperty(P_COMMENTS, QString())->setVisible(false); addProperty(P_PROGRESS, 0)->setVisible(false); - addProperty(P_PRESENTATION_TYPE, Constants::IntensityDataPresentation)->setVisible(false); + addProperty(P_PRESENTATION_TYPE, QVariant::Type::Invalid)->setVisible(false); registerTag(T_SAMPLE, 1, 1, QStringList() << Constants::MultiLayerType); registerTag(T_INSTRUMENT, 1, 1, -- GitLab