Fix Java 8 resolution for MfApi restart, refresh targets after settings, and copy errors to clipboard.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-29 09:34:04 +02:00
co-authored by Cursor
parent f584fd68fe
commit dcceb7b719
14 changed files with 358 additions and 97 deletions
@@ -67,6 +67,15 @@ public sealed class SetupWizardForm : Form
ShowPanel(_panelStatus, _navButtons[0]);
Shown += async (_, _) => await RefreshAllAsync();
FormClosing += (_, e) =>
{
// X-Button: in Einstellungen trotzdem als „geschlossen mit Änderungen möglich“
if (_isSettingsMode && DialogResult == DialogResult.None)
{
DialogResult = DialogResult.OK;
}
};
}
private void BuildShell()
@@ -1138,10 +1147,10 @@ public sealed class SetupWizardForm : Form
{
if (_isSettingsMode)
{
SetupCheckResult check = await _coordinator.CheckAsync();
DialogResult = check.IsReady
? DialogResult.OK
: DialogResult.Cancel;
// Katalog-Änderungen (Pfade/Container) sollen die Hauptansicht
// immer aktualisieren unabhängig davon, ob das Profil schon „ready“ ist.
_ = await _coordinator.CheckAsync();
DialogResult = DialogResult.OK;
}
else
{