mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Column: Uses non-auto-vivifying Config::has
This commit is contained in:
parent
a356d14f0c
commit
4f7805d005
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ Column* Column::factory (const std::string& name, const std::string& report)
|
||||||
else if (column_name == "string") c = new ColumnString ();
|
else if (column_name == "string") c = new ColumnString ();
|
||||||
|
|
||||||
// UDA.
|
// UDA.
|
||||||
else if (context.config.get ("uda." + column_name + ".type") != "")
|
else if (context.config.has ("uda." + column_name + ".type"))
|
||||||
c = Column::uda (column_name);
|
c = Column::uda (column_name);
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue