1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:38:11 +00:00

IRCClient: Fix wrong label in "Join channel" window.

This commit is contained in:
Andreas Kling 2019-03-30 20:35:23 +01:00
parent 9ac5909394
commit eec0a64444

View file

@ -58,7 +58,7 @@ void IRCAppWindow::setup_client()
void IRCAppWindow::setup_actions()
{
m_join_action = GAction::create("Join channel", GraphicsBitmap::load_from_file("/res/icons/16x16/irc-join.png"), [&] (auto&) {
GInputBox input_box("Enter nickname:", "Join channel", this);
GInputBox input_box("Enter channel name:", "Join channel", this);
if (input_box.exec() == GInputBox::ExecOK && !input_box.text_value().is_empty())
m_client.handle_join_action(input_box.text_value());
});