mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-04-02 13:39:59 +02:00
Manage close event (unchecks the menu item in main window)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user