fix: Save As command was never executed
This commit is contained in:
parent
7405302a15
commit
8b7583e628
@ -538,12 +538,12 @@ namespace hex {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool ViewHexEditor::handleShortcut(bool keys[512], bool ctrl, bool shift, bool alt) {
|
bool ViewHexEditor::handleShortcut(bool keys[512], bool ctrl, bool shift, bool alt) {
|
||||||
if (ctrl && keys['S']) {
|
if (ctrl && shift && keys['S']) {
|
||||||
save();
|
|
||||||
return true;
|
|
||||||
} else if (ctrl && shift && keys['S']) {
|
|
||||||
saveAs();
|
saveAs();
|
||||||
return true;
|
return true;
|
||||||
|
} else if (ctrl && keys['S']) {
|
||||||
|
save();
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ImGui::Begin(View::toWindowName("hex.view.hexeditor.name").c_str())) {
|
if (ImGui::Begin(View::toWindowName("hex.view.hexeditor.name").c_str())) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user