Manage close event (unchecks the menu item in main window)

This commit is contained in:
Tats
2014-03-15 23:55:29 -04:00
parent 392869f56f
commit b313edc553
3 changed files with 18 additions and 1 deletions

View File

@@ -35,6 +35,12 @@ OutputGLWindow::OutputGLWindow(QWidget* parent, const QGLWidget * shareWidget) :
setLayout(layout);
}
void OutputGLWindow::closeEvent(QCloseEvent *event)
{
emit closed();
event->accept();
}
//void OutputGLWindow::updateCanvas() {
// qDebug() << "Update output canvas" << endl;
// canvas->updateCanvas();