Fixed issue #410

This commit is contained in:
Matthias Koefferlein 2019-11-17 22:18:55 +01:00
parent 595075a88a
commit 147f2c1168
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