From 9f202ecba8fc2d2acbf74e41d517816e609c8188 Mon Sep 17 00:00:00 2001 From: Andrey Zavadskiy Date: Fri, 23 Dec 2016 23:49:42 +0300 Subject: [PATCH] fix --- osu.Game/Overlays/Options/General/LoginOptions.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/osu.Game/Overlays/Options/General/LoginOptions.cs b/osu.Game/Overlays/Options/General/LoginOptions.cs index a5e21e2c47..0c4a48b89b 100644 --- a/osu.Game/Overlays/Options/General/LoginOptions.cs +++ b/osu.Game/Overlays/Options/General/LoginOptions.cs @@ -80,6 +80,8 @@ namespace osu.Game.Overlays.Options.General private PasswordTextBox password; private APIAccess api; + private CheckBoxOption saveUsername; + private CheckBoxOption savePassword; private void performLogin() { @@ -110,12 +112,12 @@ namespace osu.Game.Overlays.Options.General Height = 20, RelativeSizeAxes = Axes.X }, - new CheckBoxOption + saveUsername = new CheckBoxOption { LabelText = "Remember Username", Bindable = config.GetBindable(OsuConfig.SaveUsername), }, - new CheckBoxOption + savePassword = new CheckBoxOption { LabelText = "Remember Password", Bindable = config.GetBindable(OsuConfig.SavePassword),