mirror of https://github.com/KLayout/klayout.git
Fixed a segfault in an application test.
This commit is contained in:
parent
6be05609e8
commit
19dbc1d74a
|
|
@ -834,10 +834,12 @@ add_collections_to_file_watcher (const lym::MacroCollection &collection, tl::Fil
|
||||||
void
|
void
|
||||||
MacroController::sync_file_watcher ()
|
MacroController::sync_file_watcher ()
|
||||||
{
|
{
|
||||||
m_file_watcher->clear ();
|
if (m_file_watcher) {
|
||||||
m_file_watcher->enable (false);
|
m_file_watcher->clear ();
|
||||||
add_collections_to_file_watcher (lym::MacroCollection::root (), m_file_watcher);
|
m_file_watcher->enable (false);
|
||||||
m_file_watcher->enable (true);
|
add_collections_to_file_watcher (lym::MacroCollection::root (), m_file_watcher);
|
||||||
|
m_file_watcher->enable (true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue