mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 13:37:42 -05:00
fix: Save As command was never executed
This commit is contained in:
@@ -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())) {
|
||||
|
||||
Reference in New Issue
Block a user