mirror of https://github.com/KLayout/klayout.git
Fixed issue #410
This commit is contained in:
parent
595075a88a
commit
147f2c1168
|
|
@ -598,6 +598,8 @@ NetlistBrowserPage::rerun_button_pressed ()
|
||||||
void
|
void
|
||||||
NetlistBrowserPage::rerun_macro ()
|
NetlistBrowserPage::rerun_macro ()
|
||||||
{
|
{
|
||||||
|
BEGIN_PROTECTED
|
||||||
|
|
||||||
if (! mp_database->generator ().empty ()) {
|
if (! mp_database->generator ().empty ()) {
|
||||||
|
|
||||||
std::map<std::string, tl::Variant> add_pars;
|
std::map<std::string, tl::Variant> add_pars;
|
||||||
|
|
@ -612,6 +614,8 @@ NetlistBrowserPage::rerun_macro ()
|
||||||
tl::Recipe::make (mp_database->generator (), add_pars);
|
tl::Recipe::make (mp_database->generator (), add_pars);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
END_PROTECTED
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
|
|
@ -29,6 +29,7 @@
|
||||||
#include "tlRecipe.h"
|
#include "tlRecipe.h"
|
||||||
#include "layLayoutView.h"
|
#include "layLayoutView.h"
|
||||||
#include "layMarker.h"
|
#include "layMarker.h"
|
||||||
|
#include "tlExceptions.h"
|
||||||
|
|
||||||
#include "ui_MarkerBrowserSnapshotView.h"
|
#include "ui_MarkerBrowserSnapshotView.h"
|
||||||
|
|
||||||
|
|
@ -2667,6 +2668,8 @@ MarkerBrowserPage::rerun_button_pressed ()
|
||||||
void
|
void
|
||||||
MarkerBrowserPage::rerun_macro ()
|
MarkerBrowserPage::rerun_macro ()
|
||||||
{
|
{
|
||||||
|
BEGIN_PROTECTED
|
||||||
|
|
||||||
if (! mp_database->generator ().empty ()) {
|
if (! mp_database->generator ().empty ()) {
|
||||||
|
|
||||||
std::map<std::string, tl::Variant> add_pars;
|
std::map<std::string, tl::Variant> add_pars;
|
||||||
|
|
@ -2681,6 +2684,8 @@ MarkerBrowserPage::rerun_macro ()
|
||||||
tl::Recipe::make (mp_database->generator (), add_pars);
|
tl::Recipe::make (mp_database->generator (), add_pars);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
END_PROTECTED
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue