Merge pull request #1261 from KLayout/issue-1260

Seems to fix issue #1260
This commit is contained in:
Matthias Köfferlein 2023-01-24 20:38:10 +01:00 committed by GitHub
commit 4b4551338b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -490,7 +490,7 @@ Layout::operator= (const Layout &d)
const db::Technology *
Layout::technology () const
{
return db::Technologies::instance ()->technology_by_name (m_tech_name);
return db::Technologies::instance ()->has_technology (m_tech_name) ? db::Technologies::instance ()->technology_by_name (m_tech_name) : 0;
}
void