diff options
Diffstat (limited to 'src/mainwin.cc')
-rw-r--r-- | src/mainwin.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mainwin.cc b/src/mainwin.cc index 57467fb..4198847 100644 --- a/src/mainwin.cc +++ b/src/mainwin.cc @@ -408,8 +408,13 @@ void MainWindow::loadDesignSettings() { QSettings settings; - if (settings.value("design/autoReload").toBool()) + if (settings.value("design/autoReload").toBool()) { designActionAutoReload->setChecked(true); + } + uint polySetCacheSize = Preferences::inst()->getValue("caches/polysetCacheSize").toUInt(); + PolySetCache::instance()->setMaxSize(polySetCacheSize); + uint cgalCacheSize = Preferences::inst()->getValue("caches/cgalCacheSize").toUInt(); + CGALCache::instance()->setMaxSize(cgalCacheSize); } MainWindow::~MainWindow() |