Skip to content
Snippets Groups Projects
Commit 09fa6c85 authored by Harry Jeffery's avatar Harry Jeffery
Browse files

Refs #11014 Resolves Coverity 1076245

parent 97ce5789
No related merge requests found
......@@ -6300,7 +6300,7 @@ QStringList ApplicationWindow::columnsList(Table::PlotDesignation plotType)
continue;
 
Table *t = dynamic_cast<Table*>(w);
for (int i=0; i < t->numCols(); i++)
for (int i=0; t && i < t->numCols(); i++)
{
if (t->colPlotDesignation(i) == plotType || plotType == Table::All)
list << QString(t->objectName()) + "_" + t->colLabel(i);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment