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:
baldurk committed 2026-08-13 17:46:43 +01:00
1 parent f5033de8ff
commit 2aff86b678
5 files changed
+488 -402

No files matched your search

+11
View File
@@ -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);
}