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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user