diff --git a/src/ui.cpp b/src/ui.cpp index 62a626c..dd748cd 100644 --- a/src/ui.cpp +++ b/src/ui.cpp @@ -1514,7 +1514,9 @@ Settings collectSettings(HWND w, SettingsView *v) s.undo = value(w, 213); s.clipboard = value(w, 214); s.screenshot = value(w, 215); - s.filesHotkey = value(w, 216); + auto filesHotkey = value(w, 216); + if (s.filesHotkey || !filesHotkey.empty()) + s.filesHotkey = std::move(filesHotkey); s.maxItems = integer(w, 240); s.maxMiB = integer(w, 241); s.maxImageMiB = integer(w, 242);