Skip to content

Commit

Permalink
Make checkbox to show slides content in editor persistent
Browse files Browse the repository at this point in the history
  • Loading branch information
Kai Patrick Reisert committed Sep 17, 2013
1 parent 083d40c commit bc3d5f1
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion WordsLive/Editor/EditorGrid.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@
<Button CommandTarget="{Binding ElementName=OrderListBox}" Command="{x:Static my:CustomCommands.Insert}" Style="{StaticResource markDisabledToolbarButton}" ToolTip="{x:Static resx:Resource.eGridOrderAddButton}" HorizontalAlignment="Left" VerticalAlignment="Stretch" Margin="0,2" DockPanel.Dock="Right" Focusable="False">
<Image Width="16" Height="16" Source="/WordsLive;component/Artwork/Small_Plus.png" />
</Button>
<CheckBox x:Name="showSlidesCheckBox" VerticalAlignment="Center" DockPanel.Dock="Right" IsChecked="True" Margin="2,0">
<CheckBox x:Name="showSlidesCheckBox" IsChecked="{Binding Source={StaticResource settings}, Path=Default.EditorShowOrderSlidesContent, Mode=TwoWay}" VerticalAlignment="Center" DockPanel.Dock="Right" Margin="2,0">
<TextBlock TextTrimming="CharacterEllipsis" ToolTip="{Binding Path=Text, RelativeSource={RelativeSource Self}}" Text="{x:Static resx:Resource.eGridOrderShowSlidesCheckbox}"/>
</CheckBox>
</DockPanel>
Expand Down
12 changes: 12 additions & 0 deletions WordsLive/Properties/Settings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions WordsLive/Properties/Settings.settings
Original file line number Diff line number Diff line change
Expand Up @@ -192,5 +192,8 @@
<Setting Name="LastSongDirectory" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Setting Name="EditorShowOrderSlidesContent" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
</Settings>
</SettingsFile>
3 changes: 3 additions & 0 deletions WordsLive/app.config
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,9 @@
<setting name="LastSongDirectory" serializeAs="String">
<value />
</setting>
<setting name="EditorShowOrderSlidesContent" serializeAs="String">
<value>True</value>
</setting>
</WordsLive.Properties.Settings>
</userSettings>
<runtime>
Expand Down

0 comments on commit bc3d5f1

Please sign in to comment.