fix: input box triggering button

This commit is contained in:
hexlocation 2025-02-08 21:01:30 +00:00
parent f33e0aca06
commit 0a678e6f55

View file

@ -47,8 +47,8 @@ MainWindow::MainWindow(void)
BButton *connectButton = new BButton(Frame(), "connect", "Connect!", new BMessage(msgConnectButtonClicked));
connectButton->SetTarget(this);
BTextControl *jidInput = new BTextControl("jidinput", "JID:", "Placeholder", new BMessage(msgConnectButtonClicked));
BTextControl *pwInput = new BTextControl("pwinput", "Password:", "Placeholder", new BMessage(msgConnectButtonClicked));
BTextControl *jidInput = new BTextControl("jidinput", "JID:", "Placeholder", NULL);
BTextControl *pwInput = new BTextControl("pwinput", "Password:", "Placeholder", NULL);
pwInput->TextView()->HideTyping(true);