summaryrefslogtreecommitdiff
path: root/mainwin.cc
diff options
context:
space:
mode:
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 783315a..975468f 100644
--- a/mainwin.cc
+++ b/mainwin.cc
@@ -273,6 +273,8 @@ MainWindow::MainWindow(const char *filename)
connect(editor->document(), SIGNAL(modificationChanged(bool)), fileActionSave, SLOT(setEnabled(bool)));
connect(screen, SIGNAL(doAnimateUpdate()), this, SLOT(animateUpdate()));
+ connect(Preferences::inst(), SIGNAL(requestRedraw()), this->screen, SLOT(updateGL()));
+
// display this window and check for OpenGL 2.0 (OpenCSG) support
viewModeThrownTogether();
show();
contact: Jan Huwald // Impressum