Skip to content

Commit

Permalink
Fixup e8037ae
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Aug 25, 2017
1 parent 0e0eec9 commit cf03966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/widgets/chatbox.cpp
Expand Up @@ -101,7 +101,7 @@ void chatbox::finalize_setup()
roomlistbox_ = find_widget<listbox>(this, "room_list", false, true);

// We need to bind a lambda here since switch_to_window is overloaded.
// A lambda alone would be more verbose because it'd need to specify all the parameters.
// A lambda alone would be more verbose because it'd need to specify all the parameters.
connect_signal_notify_modified(*roomlistbox_,
std::bind([this]() { switch_to_window(roomlistbox_->get_selected_row()); }));

Expand Down

0 comments on commit cf03966

Please sign in to comment.