Eeschema, fix broken instances of symbols in rescue dialog.

The symbol library table rescue candidate was only using the item name
of the library ID object which was being compared to the fully formatted
library ID causing a comparison failure so no instances of any rescued
symbols was shown in the dialog.

Fixes lp:1791805

https://bugs.launchpad.net/kicad/+bug/1791805
This commit is contained in:
Wayne Stambaugh 2018-09-14 17:42:14 -04:00
parent af2dcd61bb
commit cac7479e33
1 changed files with 1 additions and 1 deletions

View File

@ -338,7 +338,7 @@ RESCUE_SYMBOL_LIB_TABLE_CANDIDATE::RESCUE_SYMBOL_LIB_TABLE_CANDIDATE(
LIB_PART* aLibCandidate ) : RESCUE_CANDIDATE() LIB_PART* aLibCandidate ) : RESCUE_CANDIDATE()
{ {
m_requested_id = aRequestedId; m_requested_id = aRequestedId;
m_requested_name = aRequestedId.GetLibItemName(); m_requested_name = aRequestedId.Format();
m_new_id = aNewId; m_new_id = aNewId;
m_lib_candidate = aLibCandidate; m_lib_candidate = aLibCandidate;
m_cache_candidate = aCacheCandidate; m_cache_candidate = aCacheCandidate;