fixed missing desciption in symbol chooser

This commit is contained in:
afkiwers 2023-09-22 10:22:18 +10:00 committed by Jon Evans
parent 4cd26ab6bc
commit a1708637fc
2 changed files with 6 additions and 2 deletions

View File

@ -297,6 +297,12 @@ bool HTTP_LIB_CONNECTION::SelectAll( const HTTP_LIB_CATEGORY& aCategory,
part.id = item.at( "id" );
if( item.contains( "description" ) )
{
// At this point we don't display anything so just set it to false
part.fields["description"] = std::make_tuple( item.at( "description" ), false );
}
// API might not want to return an optional name.
if( item.contains( "name" ) )
{

View File

@ -90,8 +90,6 @@ private:
std::string m_token;
std::string m_rootURL;
std::string m_user_name;
std::string m_user_pass;
HTTP_LIB_SOURCE_TYPE m_sourceType;