1 parent
43a2c4f57b
commit
6d19b91963
30 files changed
+1694
-78
No files matched your search
@@ -97,7 +97,10 @@ public partial class SettingsWindow : Window
|
||||
ActionOpenRadio.IsChecked = settings.Action == CaptureAction.OpenEditor;
|
||||
ActionNothingRadio.IsChecked = settings.Action == CaptureAction.Nothing;
|
||||
StraightHighlightBox.IsChecked = settings.StraightHighlight;
|
||||
LayoutSplitRadio.IsChecked = settings.EditorLayout == EditorLayout.Split;
|
||||
LayoutSingleRadio.IsChecked = settings.EditorLayout != EditorLayout.Split;
|
||||
AutoUpdateCheckBox.IsChecked = settings.CheckForUpdates;
|
||||
MagnifierBox.IsChecked = settings.ShowMagnifier;
|
||||
|
||||
_snipFolder = settings.SnipSaveFolder;
|
||||
_videoFolder = settings.VideoSaveFolder;
|
||||
@@ -441,7 +444,9 @@ public partial class SettingsWindow : Window
|
||||
: ActionNothingRadio.IsChecked == true ? CaptureAction.Nothing
|
||||
: CaptureAction.Notify;
|
||||
_settings.StraightHighlight = StraightHighlightBox.IsChecked == true;
|
||||
_settings.EditorLayout = LayoutSplitRadio.IsChecked == true ? EditorLayout.Split : EditorLayout.Single;
|
||||
_settings.CheckForUpdates = AutoUpdateCheckBox.IsChecked == true;
|
||||
_settings.ShowMagnifier = MagnifierBox.IsChecked == true;
|
||||
StopListening();
|
||||
_settings.SnipHotkey = _hotkeys["Snip"];
|
||||
_settings.WindowHotkey = _hotkeys["Window"];
|
||||
@@ -466,6 +471,7 @@ public partial class SettingsWindow : Window
|
||||
_settings.ToolbarPosition = defaults.ToolbarPosition;
|
||||
_settings.ToolbarLocked = defaults.ToolbarLocked;
|
||||
_settings.ToolbarOrder = defaults.ToolbarOrder;
|
||||
_settings.SplitToolbarOrder = defaults.SplitToolbarOrder;
|
||||
_settings.ToolbarHidden = defaults.ToolbarHidden;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user