From: rnv Date: Wed, 24 Aug 2016 16:25:41 +0000 (+0300) Subject: Fix for '0053540: Crash on activating JOBMANAGER' issue. X-Git-Tag: V8_1_0rc1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8aa63006f0b8ff0a0a3e6e0c971ef25a9533e553;p=modules%2Fjobmanager.git Fix for '0053540: Crash on activating JOBMANAGER' issue. --- diff --git a/src/genericgui/BL_JobsTable.cxx b/src/genericgui/BL_JobsTable.cxx index c04c9ef..ac51b67 100644 --- a/src/genericgui/BL_JobsTable.cxx +++ b/src/genericgui/BL_JobsTable.cxx @@ -83,7 +83,10 @@ BL::JobsTable::selectionChanged ( const QItemSelection & selected, const QItemSe QModelIndexList selected_rows = selectionModel()->selectedRows(); if (selected_rows.length() == 0) { - _main_gui->reset_job_selection(); + if (_main_gui) + { + _main_gui->reset_job_selection(); + } } else if (selected_rows.length() == 1) {