mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-07 14:35:48 +00:00
Change python scripting panel to allow multiple editor windows
* We also remove the old completion/help functionality as it will be replaced.
This commit is contained in:
5 files changed
+488
-402
No files matched your search
@@ -3195,6 +3195,17 @@ void MainWindow::closeEvent(QCloseEvent *event)
|
||||
delete live;
|
||||
}
|
||||
|
||||
if(m_Ctx.HasPythonShell())
|
||||
{
|
||||
IPythonShell *shell = m_Ctx.GetPythonShell();
|
||||
|
||||
if(!shell->CheckUnsavedChanges())
|
||||
{
|
||||
event->ignore();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
SaveLayout(0);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user