mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:37:35 +00:00
HexEditor: Change Find All Strings
shortcut to Ctrl + Shift + F
The previous shortcut of `Ctrl + Shift + S` conflicted with `Save As...` action shortcut.
This commit is contained in:
parent
af46734497
commit
0bfcbf0b0a
1 changed files with 1 additions and 1 deletions
|
@ -401,7 +401,7 @@ void HexEditorWidget::initialize_menubar(GUI::Window& window)
|
|||
m_last_found_index = result.value();
|
||||
}));
|
||||
|
||||
edit_menu.add_action(GUI::Action::create("Find All &Strings", { Mod_Ctrl | Mod_Shift, Key_S }, Gfx::Bitmap::try_load_from_file("/res/icons/16x16/find.png"sv).release_value_but_fixme_should_propagate_errors(), [&](const GUI::Action&) {
|
||||
edit_menu.add_action(GUI::Action::create("Find All &Strings", { Mod_Ctrl | Mod_Shift, Key_F }, Gfx::Bitmap::try_load_from_file("/res/icons/16x16/find.png"sv).release_value_but_fixme_should_propagate_errors(), [&](const GUI::Action&) {
|
||||
int min_length = 4;
|
||||
auto matches = m_editor->find_all_strings(min_length);
|
||||
m_search_results->set_model(*new SearchResultsModel(move(matches)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue