mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:47:34 +00:00
Base+HackStudio: Add or insert missing icons
Insert or add icons where they are missing.
This commit is contained in:
parent
19d4f52a9e
commit
3c11dc5bd3
6 changed files with 8 additions and 6 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue