Merge pull request #412 from KLayout/issue_410

Fixed issue #410
This commit is contained in:
Matthias Köfferlein 2019-11-22 23:10:52 +01:00 committed by GitHub
commit 967e8dc5b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View File

@ -598,6 +598,8 @@ NetlistBrowserPage::rerun_button_pressed ()
void
NetlistBrowserPage::rerun_macro ()
{
BEGIN_PROTECTED
if (! mp_database->generator ().empty ()) {
std::map<std::string, tl::Variant> add_pars;
@ -612,6 +614,8 @@ NetlistBrowserPage::rerun_macro ()
tl::Recipe::make (mp_database->generator (), add_pars);
}
END_PROTECTED
}
void

View File

@ -29,6 +29,7 @@
#include "tlRecipe.h"
#include "layLayoutView.h"
#include "layMarker.h"
#include "tlExceptions.h"
#include "ui_MarkerBrowserSnapshotView.h"
@ -2667,6 +2668,8 @@ MarkerBrowserPage::rerun_button_pressed ()
void
MarkerBrowserPage::rerun_macro ()
{
BEGIN_PROTECTED
if (! mp_database->generator ().empty ()) {
std::map<std::string, tl::Variant> add_pars;
@ -2681,6 +2684,8 @@ MarkerBrowserPage::rerun_macro ()
tl::Recipe::make (mp_database->generator (), add_pars);
}
END_PROTECTED
}
void