Example was not updated in last commit

0.8
Bruno Van de Velde 2017-08-17 15:25:18 +02:00
parent 5f62cae07c
commit 6284edc7c8
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ void loadWidgets( tgui::Gui& gui )
gui.add(button);
// Call the login function when the button is pressed and pass the edit boxes that we created as parameters
button->onPress->connect([=]{ login(editBoxUsername, editBoxPassword); });
button->onPress.connect([=]{ login(editBoxUsername, editBoxPassword); });
}
int main()