diff options
Diffstat (limited to 'mainwin.cc')
-rw-r--r-- | mainwin.cc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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(); |