Base+HackStudio: Add or insert missing icons

Insert or add icons where they are missing.
This commit is contained in:
electrikmilk 2022-02-08 21:49:58 -05:00 committed by Linus Groh
commit 3c11dc5bd3
Notes: sideshowbarker 2024-07-17 19:04:06 +09:00
6 changed files with 8 additions and 6 deletions

View file

@ -88,7 +88,7 @@ void TextEditor::create_actions()
m_paste_action->set_enabled(is_editable() && Clipboard::the().fetch_mime_type().starts_with("text/"));
if (is_multi_line()) {
m_go_to_line_action = Action::create(
"Go to line...", { Mod_Ctrl, Key_L }, Gfx::Bitmap::try_load_from_file("/res/icons/16x16/go-forward.png").release_value_but_fixme_should_propagate_errors(), [this](auto&) {
"Go to line...", { Mod_Ctrl, Key_L }, Gfx::Bitmap::try_load_from_file("/res/icons/16x16/go-to.png").release_value_but_fixme_should_propagate_errors(), [this](auto&) {
String value;
if (InputBox::show(window(), value, "Line:", "Go to line") == InputBox::ExecOK) {
auto line_target = value.to_uint();