From 3f2211f42aa43939ff1b84f17eea53cb636b4ae6 Mon Sep 17 00:00:00 2001
From: Stone_Red <56473591+Stone-Red-Code@users.noreply.github.com>
Date: Wed, 25 Feb 2026 16:00:11 +0100
Subject: [PATCH] fix: double click on public checkbox creates channel by
setting set CommandsToBubbleUp in dialog
---
src/EchoHub.Client/EchoHub.Client.csproj | 2 +-
src/EchoHub.Client/UI/Dialogs/CreateChannelDialog.cs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/EchoHub.Client/EchoHub.Client.csproj b/src/EchoHub.Client/EchoHub.Client.csproj
index 70753d0..a4ab665 100644
--- a/src/EchoHub.Client/EchoHub.Client.csproj
+++ b/src/EchoHub.Client/EchoHub.Client.csproj
@@ -12,7 +12,7 @@
-
+
diff --git a/src/EchoHub.Client/UI/Dialogs/CreateChannelDialog.cs b/src/EchoHub.Client/UI/Dialogs/CreateChannelDialog.cs
index a00dd5b..076b2ad 100644
--- a/src/EchoHub.Client/UI/Dialogs/CreateChannelDialog.cs
+++ b/src/EchoHub.Client/UI/Dialogs/CreateChannelDialog.cs
@@ -12,7 +12,7 @@ public sealed class CreateChannelDialog
{
CreateChannelResult? result = null;
- var dialog = new Dialog { Title = "Create Channel", Width = 50, Height = 14 };
+ var dialog = new Dialog { Title = "Create Channel", Width = 50, Height = 14, CommandsToBubbleUp = [] };
var nameLabel = new Label { Text = "Name:", X = 1, Y = 1 };
var nameField = new TextField { X = 10, Y = 1, Width = Dim.Fill(2) };