diff options
Diffstat (limited to 'UVtools.WPF/Windows/SettingsWindow.axaml')
-rw-r--r-- | UVtools.WPF/Windows/SettingsWindow.axaml | 34 |
1 files changed, 33 insertions, 1 deletions
diff --git a/UVtools.WPF/Windows/SettingsWindow.axaml b/UVtools.WPF/Windows/SettingsWindow.axaml index a300e3f..c12fcb8 100644 --- a/UVtools.WPF/Windows/SettingsWindow.axaml +++ b/UVtools.WPF/Windows/SettingsWindow.axaml @@ -1413,7 +1413,7 @@ </ScrollViewer> </TabItem> - <TabItem Header="Automations" VerticalContentAlignment="Center"> + <TabItem Header="Tools" VerticalContentAlignment="Center"> <ScrollViewer Name="ScrollViewer5"> <StackPanel Orientation="Vertical" Spacing="5"> <Border @@ -1423,6 +1423,36 @@ <StackPanel Orientation="Vertical"> <TextBlock Padding="10" Background="LightBlue" FontWeight="Bold" Text="Common"/> <StackPanel Margin="10" Orientation="Vertical" Spacing="10"> + <CheckBox IsChecked="{Binding Settings.Tools.RestoreLastUsedSettings}" + Content="Keep and restore the last used settings on operations per user session/instance"/> + + <ToggleSwitch IsChecked="{Binding Settings.Tools.LastUsedSettingsKeepOnCloseFile}" + OffContent="Discard the session when closing or loading files" + OnContent="Keep the session when closing or loading files"/> + + <ToggleSwitch IsChecked="{Binding Settings.Tools.LastUsedSettingsPriorityOverDefaultProfile}" + IsEnabled="{Binding Settings.Tools.RestoreLastUsedSettings}" + OffContent="Default profile will priority over the session" + OnContent="Session will priority over the default profile"/> + </StackPanel> + + </StackPanel> + </Border> + + </StackPanel> + </ScrollViewer> + </TabItem> + + <TabItem Header="Automations" VerticalContentAlignment="Center"> + <ScrollViewer Name="ScrollViewer6"> + <StackPanel Orientation="Vertical" Spacing="5"> + <Border + Classes="GroupBox" + Margin="5"> + + <StackPanel Orientation="Vertical"> + <TextBlock Padding="10" Background="LightBlue" FontWeight="Bold" Text="Common"/> + <StackPanel Margin="10" Orientation="Vertical" Spacing="10"> <CheckBox IsChecked="{Binding Settings.Automations.SaveFileAfterModifications}" Content="Auto save the file after apply any automation(s)"/> </StackPanel> @@ -1513,6 +1543,8 @@ </ScrollViewer> </TabItem> + + </TabControl> <Border Grid.Row="1" Classes="FooterActions"> |