about summary refs log tree commit diff
path: root/MatrixRoomUtils.Desktop/LoginWindow.axaml
diff options
context:
space:
mode:
Diffstat (limited to 'MatrixRoomUtils.Desktop/LoginWindow.axaml')
-rw-r--r--MatrixRoomUtils.Desktop/LoginWindow.axaml6
1 files changed, 4 insertions, 2 deletions
diff --git a/MatrixRoomUtils.Desktop/LoginWindow.axaml b/MatrixRoomUtils.Desktop/LoginWindow.axaml
index d61bfd3..a4600d5 100644
--- a/MatrixRoomUtils.Desktop/LoginWindow.axaml
+++ b/MatrixRoomUtils.Desktop/LoginWindow.axaml
@@ -6,10 +6,12 @@
         mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
         x:Class="MatrixRoomUtils.Desktop.LoginWindow"
         Title="LoginWindow"
-        x:DataType="desktop:LoginWindow">
+        x:DataType="desktop:LoginWindow"
+        DataContext="{Binding $self}"
+        >
     <StackPanel>
         <TextBox Text="{Binding Username, Mode=TwoWay}" />
-        <MaskedTextBox Text="{Binding Password, Mode=TwoWay}" />
+        <MaskedTextBox PasswordChar="*" Text="{Binding Password, Mode=TwoWay}" />
         <Button Click="Login">Login</Button>
     </StackPanel>
 </Window>