From 8aa63006f0b8ff0a0a3e6e0c971ef25a9533e553 Mon Sep 17 00:00:00 2001 From: rnv Date: Wed, 24 Aug 2016 19:25:41 +0300 Subject: [PATCH] Fix for '0053540: Crash on activating JOBMANAGER' issue. --- src/genericgui/BL_JobsTable.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) { -- 2.39.2