summaryrefslogtreecommitdiff
path: root/src/mainwin.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-12-26 15:38:11 (GMT)
committerMarius Kintel <marius@kintel.net>2011-12-26 15:38:11 (GMT)
commit0be212e75d73644b1cff8291a4b6a6fe0098b942 (patch)
tree05bfeea810ad680d3cfbfa385fe694cb7dc0840d /src/mainwin.cc
parent04f8d5863b5797f25c226b970dba8e87abb836c8 (diff)
parent4ff2d1af446c1f276c644b12e6ec4cc6db0b6d65 (diff)
Merge branch 'master' into threading
Diffstat (limited to 'src/mainwin.cc')
-rw-r--r--src/mainwin.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainwin.cc b/src/mainwin.cc
index 5c81554..82a28c3 100644
--- a/src/mainwin.cc
+++ b/src/mainwin.cc
@@ -576,7 +576,7 @@ void MainWindow::load()
AbstractNode *MainWindow::find_root_tag(AbstractNode *n)
{
BOOST_FOREACH (AbstractNode *v, n->children) {
- if (v->modinst->tag_root) return v;
+ if (v->modinst->isRoot()) return v;
if (AbstractNode *vroot = find_root_tag(v)) return vroot;
}
return NULL;
@@ -1453,7 +1453,7 @@ void MainWindow::actionFlushCaches()
#endif
dxf_dim_cache.clear();
dxf_cross_cache.clear();
- Module::libs_cache.clear();
+ Module::clear_library_cache();
}
void MainWindow::viewModeActionsUncheck()
contact: Jan Huwald // Impressum