mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Bug - Seg fault
- Fixed seg fault caused when a custom report had no override labels.
This commit is contained in:
parent
58a04b9813
commit
e83b468ade
1 changed files with 2 additions and 1 deletions
|
@ -127,7 +127,8 @@ int CmdCustom::execute (std::string& output)
|
|||
for (unsigned int i = 0; i < columns.size (); ++i)
|
||||
{
|
||||
Column* c = Column::factory (columns[i], _keyword);
|
||||
c->setLabel (labels[i]);
|
||||
if (i < labels.size ())
|
||||
c->setLabel (labels[i]);
|
||||
view.add (c);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue