Browse Source

Fix pcm fallback loading

Need to add a fake version otherwise the package gets filtered out of
the packages view.
6.0.7
qu1ck 4 years ago
committed by Jon Evans
parent
commit
54e9f1cf24
  1. 7
      kicad/pcm/pcm.cpp

7
kicad/pcm/pcm.cpp

@ -150,6 +150,13 @@ PLUGIN_CONTENT_MANAGER::PLUGIN_CONTENT_MANAGER( wxWindow* aParent ) : m_dialog(
if( stat_code == 0 )
entry.install_timestamp = stat.st_mtime;
PACKAGE_VERSION version;
version.version = "0.0";
version.status = PVS_STABLE;
version.kicad_version = KICAD_MAJOR_MINOR_VERSION;
entry.package.versions.emplace_back( version );
m_installed.emplace( actual_package_id, entry );
}

Loading…
Cancel
Save