From 4a7eb3fe38c07d9f91aa59305c13f9989a520065 Mon Sep 17 00:00:00 2001 From: OlgunR Date: Mon, 22 Sep 2025 13:55:03 +0200 Subject: [PATCH] =?UTF-8?q?Verkn=C3=BCpfungen=20-=20Laden=20des=20Profils?= =?UTF-8?q?=20aus=20Profileigenschaften=20heraus=20-=20Verkn=C3=BCpfungen?= =?UTF-8?q?=20ohne=20Profil=20laden=20nichts=20-=20frmNIVerknuepfungen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ToolCollection/frmNIVerknuepfungen.vb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ToolCollection/frmNIVerknuepfungen.vb b/ToolCollection/frmNIVerknuepfungen.vb index db58d29..136a1ed 100644 --- a/ToolCollection/frmNIVerknuepfungen.vb +++ b/ToolCollection/frmNIVerknuepfungen.vb @@ -482,7 +482,7 @@ Public Class frmNIVerknuepfungen Me._selectedProfil = ClassNIProfile.aktivesProfil Try 'wenn noch kein Profil geladen wurde soll das ausgewählte auf jeden Fall geladen werden - If Me._selectedProfil Is Nothing Then + If Me._selectedProfil IsNot Nothing Then Me.LoadSelectedProfile(e.ClickedItem.Text) Me.pnlZielQuelle.Enabled = True Else ' wenn bereits ein Profil geladen war @@ -2309,6 +2309,9 @@ Public Class frmNIVerknuepfungen Else Me.lblProfil.Enabled = True End If + Else + Me._selectedProfil = Nothing + Me.pnlZielQuelle.Visible = False End If End Sub