diff --git a/source/views/view_hexeditor.cpp b/source/views/view_hexeditor.cpp index e25ba3927..be908c949 100644 --- a/source/views/view_hexeditor.cpp +++ b/source/views/view_hexeditor.cpp @@ -538,12 +538,12 @@ namespace hex { } bool ViewHexEditor::handleShortcut(bool keys[512], bool ctrl, bool shift, bool alt) { - if (ctrl && keys['S']) { - save(); - return true; - } else if (ctrl && shift && keys['S']) { + if (ctrl && shift && keys['S']) { saveAs(); return true; + } else if (ctrl && keys['S']) { + save(); + return true; } if (ImGui::Begin(View::toWindowName("hex.view.hexeditor.name").c_str())) {