fix: input box triggering button
This commit is contained in:
parent
f33e0aca06
commit
0a678e6f55
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue