From: Anthony Geay Date: Mon, 11 Dec 2017 09:40:08 +0000 (+0100) Subject: Merge V8_4_BR branch. X-Git-Tag: V9_0_0~2^2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=31eec5bd1419aac09176ee7d349ad1e09c7f1f8b;p=modules%2Fparavis.git Merge V8_4_BR branch. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 9f8823f0..8a316b74 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -41,7 +41,7 @@ SET(${PROJECT_NAME_UC}_MINOR_VERSION 4) SET(${PROJECT_NAME_UC}_PATCH_VERSION 0) SET(${PROJECT_NAME_UC}_VERSION ${${PROJECT_NAME_UC}_MAJOR_VERSION}.${${PROJECT_NAME_UC}_MINOR_VERSION}.${${PROJECT_NAME_UC}_PATCH_VERSION}) -SET(${PROJECT_NAME_UC}_VERSION_DEV 0) +SET(${PROJECT_NAME_UC}_VERSION_DEV 1) # Common CMake macros # =================== diff --git a/src/Plugins/MEDReader/ParaViewPlugin/pqMEDReaderTimesFlagsWidget.cxx b/src/Plugins/MEDReader/ParaViewPlugin/pqMEDReaderTimesFlagsWidget.cxx index 60e57e14..de01f7bb 100644 --- a/src/Plugins/MEDReader/ParaViewPlugin/pqMEDReaderTimesFlagsWidget.cxx +++ b/src/Plugins/MEDReader/ParaViewPlugin/pqMEDReaderTimesFlagsWidget.cxx @@ -216,7 +216,9 @@ void pqMEDReaderTimesFlagsWidget::UpdateTimeSteps() // Updating times steps using leaf id QStringList dts, its, tts; - pqMedReaderGraphUtils::getCurrentTS(g, tsId, dts, its, tts); - this->TimesVectWidget->setItems(dts, its, tts); + if(g) + pqMedReaderGraphUtils::getCurrentTS(g, tsId, dts, its, tts); + if(this->TimesVectWidget) + this->TimesVectWidget->setItems(dts, its, tts); } }