summaryrefslogtreecommitdiff
path: root/mainwin.cc
diff options
context:
space:
mode:
authorkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2010-01-25 20:52:43 (GMT)
committerkintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c>2010-01-25 20:52:43 (GMT)
commitb629bd329247aa47b99afa6c6f9a2a28803af09b (patch)
tree066cc0443b13e5b82154acd1f81e4ade90100c78 /mainwin.cc
parentb0b3d030c0ee7177b8777ff681626be5b0e861d2 (diff)
Save preferences to disk
git-svn-id: http://svn.clifford.at/openscad/trunk@352 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'mainwin.cc')
-rw-r--r--mainwin.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/mainwin.cc b/mainwin.cc
index 0797a46..5ad510b 100644
--- a/mainwin.cc
+++ b/mainwin.cc
@@ -288,6 +288,8 @@ MainWindow::MainWindow(const char *filename)
connect(Preferences::inst(), SIGNAL(requestRedraw()), this->screen, SLOT(updateGL()));
connect(Preferences::inst(), SIGNAL(fontChanged(const QString&,uint)),
this, SLOT(setFont(const QString&,uint)));
+ Preferences::inst()->apply();
+
// display this window and check for OpenGL 2.0 (OpenCSG) support
viewModeThrownTogether();
contact: Jan Huwald // Impressum