From aee5d3ab64a1467cadb72585015ba3463c10c730 Mon Sep 17 00:00:00 2001 From: Paul Walker Date: Fri, 10 Apr 2020 09:40:13 -0400 Subject: [PATCH] SetDefaultTo sets the default and current zoom. Closes #1687 --- src/common/gui/SurgeGUIEditor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/gui/SurgeGUIEditor.cpp b/src/common/gui/SurgeGUIEditor.cpp index 0a40b3a0a1d..96754fb3654 100644 --- a/src/common/gui/SurgeGUIEditor.cpp +++ b/src/common/gui/SurgeGUIEditor.cpp @@ -3611,6 +3611,7 @@ void SurgeGUIEditor::showSettingsMenu(CRect &menuRect) spawn_miniedit_text(c, 16); int newVal = ::atoi(c); Surge::Storage::updateUserDefaultValue(&(this->synth->storage), "defaultZoom", newVal); + this->setZoomFactor(newVal); }); zid++;