]> SALOME platform Git repositories - modules/jobmanager.git/commitdiff
Salome HOME
Fix for '0053540: Crash on activating JOBMANAGER' issue.
authorrnv <rnv@opencascade.com>
Wed, 24 Aug 2016 16:25:41 +0000 (19:25 +0300)
committerrnv <rnv@opencascade.com>
Wed, 24 Aug 2016 16:25:41 +0000 (19:25 +0300)
src/genericgui/BL_JobsTable.cxx

index c04c9efa2c547fb4adc033d1bf0c06f91dfc6b60..ac51b671f14bdfefd2edb312f59c22b837e51394 100644 (file)
@@ -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)
   {