SCRATCH make instance windows independent

This commit is contained in:
Petr Mrázek 2016-08-15 00:50:13 +02:00
parent 042f3ef55c
commit ec05ca2775

View File

@ -1441,7 +1441,7 @@ InstanceWindow *MainWindow::showInstanceWindow(InstancePtr instance, QString pag
} }
else else
{ {
window = new InstanceWindow(instance, this); window = new InstanceWindow(instance);
m_instanceWindows[id] = window; m_instanceWindows[id] = window;
connect(window, &InstanceWindow::isClosing, this, &MainWindow::on_instanceWindowClose); connect(window, &InstanceWindow::isClosing, this, &MainWindow::on_instanceWindowClose);
} }