diff --git a/Userland/Applications/CrashReporter/CrashReporterWindow.gml b/Userland/Applications/CrashReporter/CrashReporterWindow.gml index 8ebb958222..647450c05e 100644 --- a/Userland/Applications/CrashReporter/CrashReporterWindow.gml +++ b/Userland/Applications/CrashReporter/CrashReporterWindow.gml @@ -83,8 +83,8 @@ layout: @GUI::HorizontalBoxLayout @GUI::Button { - name: "inspect_button" - text: "Inspect in Hack Studio" + name: "debug_button" + text: "Debug in Hack Studio" fixed_width: 150 fixed_height: 22 } diff --git a/Userland/Applications/CrashReporter/main.cpp b/Userland/Applications/CrashReporter/main.cpp index e7bbb0d8df..1879770b95 100644 --- a/Userland/Applications/CrashReporter/main.cpp +++ b/Userland/Applications/CrashReporter/main.cpp @@ -367,9 +367,9 @@ int main(int argc, char** argv) app->quit(); }; - auto& inspect_button = *widget.find_descendant_of_type_named("inspect_button"); - inspect_button.set_icon(MUST(Gfx::Bitmap::try_load_from_file("/res/icons/16x16/app-hack-studio.png"))); - inspect_button.on_click = [&](int) { + auto& debug_button = *widget.find_descendant_of_type_named("debug_button"); + debug_button.set_icon(MUST(Gfx::Bitmap::try_load_from_file("/res/icons/16x16/app-hack-studio.png"))); + debug_button.on_click = [&](int) { pid_t child; const char* argv[4] = { "HackStudio", "-c", coredump_path, nullptr }; if ((errno = posix_spawn(&child, "/bin/HackStudio", nullptr, nullptr, const_cast(argv), environ))) { diff --git a/Userland/DevTools/HackStudio/main.cpp b/Userland/DevTools/HackStudio/main.cpp index 76f237afdc..a0c4650dc8 100644 --- a/Userland/DevTools/HackStudio/main.cpp +++ b/Userland/DevTools/HackStudio/main.cpp @@ -54,7 +54,7 @@ ErrorOr serenity_main(Main::Arguments arguments) bool mode_coredump = false; Core::ArgsParser args_parser; args_parser.add_positional_argument(path_argument, "Path to a workspace or a file", "path", Core::ArgsParser::Required::No); - args_parser.add_option(mode_coredump, "Inspect a coredump in HackStudio", "coredump", 'c'); + args_parser.add_option(mode_coredump, "Debug a coredump in HackStudio", "coredump", 'c'); args_parser.parse(arguments); auto argument_absolute_path = Core::File::real_path_for(path_argument);