Skip to content

Commit 499e667

Browse files
committed
fix: disable Stop button
Disable stop button because its broken lol. Signed-off-by: enderice2 <enderice2@protonmail.com>
1 parent aa7a153 commit 499e667

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/gui.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,9 @@ VOID HandleStartButton(BOOL Silent)
138138

139139
HWND item = GetDlgItem(hwnd, /* Start Button */ 1);
140140
Button_SetText(item, "&Stop");
141+
142+
/* FIXME: the Stop procedure is broken! There should be a stop procedure and not just killing threads. */
143+
EnableWindow(item, FALSE);
141144
item = GetDlgItem(hwnd, 4);
142145
SetWindowText(item, "Bridge is running...");
143146
IsAlreadyRunning = TRUE;

0 commit comments

Comments
 (0)