Skip to content

Commit

Permalink
Change switch window width binding mode
Browse files Browse the repository at this point in the history
Fixes "Window Width" option not updating until restart
  • Loading branch information
danielchalmers committed Dec 16, 2016
1 parent 7310538 commit bf0f3e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SteamAccountSwitcher/SwitchWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
ResizeMode="CanMinimize"
Closing="Window_Closing" Icon="icon.ico" MinWidth="100"
Title="{x:Static p:Resources.AppName}"
Width="{Binding Width, Source={x:Static p:Settings.Default}, Mode=OneWay}"
Width="{Binding Width, Source={x:Static p:Settings.Default}, Mode=TwoWay}"
Left="{Binding SwitchWindowLeft, Source={x:Static p:Settings.Default}, Mode=TwoWay}"
Top="{Binding SwitchWindowTop, Source={x:Static p:Settings.Default}, Mode=TwoWay}">
<i:Interaction.Triggers>
Expand Down

0 comments on commit bf0f3e9

Please sign in to comment.