From b212a244798113f794876ec52feaf09d759e8b3e Mon Sep 17 00:00:00 2001 From: David Capello Date: Mon, 21 Feb 2022 16:21:07 -0300 Subject: [PATCH] Add sampling options to Edit > Preferences dialog too (#3183) --- data/widgets/options.xml | 6 ++-- src/app/CMakeLists.txt | 1 + src/app/commands/cmd_options.cpp | 16 +++++++++- src/app/ui/context_bar.cpp | 50 +++-------------------------- src/app/ui/context_bar.h | 4 +-- src/app/ui/sampling_selector.cpp | 54 ++++++++++++++++++++++++++++++++ src/app/ui/sampling_selector.h | 41 ++++++++++++++++++++++++ 7 files changed, 121 insertions(+), 51 deletions(-) create mode 100644 src/app/ui/sampling_selector.cpp create mode 100644 src/app/ui/sampling_selector.h diff --git a/data/widgets/options.xml b/data/widgets/options.xml index 43854fd45..894badfaf 100644 --- a/data/widgets/options.xml +++ b/data/widgets/options.xml @@ -1,5 +1,5 @@ - + @@ -230,6 +230,7 @@ pref="editor.auto_fit" /> +