From e7691eb95635d2162b423d7a47deace5856a6a99 Mon Sep 17 00:00:00 2001 From: itayc0hen Date: Tue, 7 Apr 2020 16:18:41 +0300 Subject: [PATCH] Rename "Open" to "Map File" and "New" to "New Window" --- docs/source/user-docs/menus/menu-bar/file-menu.rst | 6 +++--- src/core/MainWindow.cpp | 2 +- src/core/MainWindow.h | 2 +- src/core/MainWindow.ui | 10 +++++----- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/source/user-docs/menus/menu-bar/file-menu.rst b/docs/source/user-docs/menus/menu-bar/file-menu.rst index 2fa68c67..c19b6aee 100644 --- a/docs/source/user-docs/menus/menu-bar/file-menu.rst +++ b/docs/source/user-docs/menus/menu-bar/file-menu.rst @@ -5,7 +5,7 @@ New Instance of Cutter ---------------------------------------- **Description:** Open a new instance of Cutter to start a new session. This option will open a new window of Cutter without exiting the current session. -**Steps:** File -> New +**Steps:** File -> New Window **Shortcut:** :kbd:`Ctrl` + :kbd:`N` @@ -14,9 +14,9 @@ Map a new file **Description:** Cutter allows you to map the contents of other files into the same I/O space used to contain the loaded binary. The new contents can be placed at random or specific offsets. Specifically, Cutter is able to open files and map portions of them at random or specific places in memory. It is the perfect basic tooling to reproduce an environment like a core file, a debug session, or a framework by also loading and mapping all the libraries and files the binary depends on. -**Steps:** File -> Open +**Steps:** File -> Map File -**Shortcut:** :kbd:`Ctrl` + :kbd:`O` +**Shortcut:** :kbd:`Ctrl` + :kbd:`M` Import a PDB file ---------------------------------------- diff --git a/src/core/MainWindow.cpp b/src/core/MainWindow.cpp index 5f4ddef7..9537310b 100644 --- a/src/core/MainWindow.cpp +++ b/src/core/MainWindow.cpp @@ -1393,7 +1393,7 @@ void MainWindow::on_actionRun_Script_triggered() * @brief MainWindow::on_actionOpen_triggered * Open a file as in "load (add) a file in current session". */ -void MainWindow::on_actionOpen_triggered() +void MainWindow::on_actionMap_triggered() { OpenFileDialog dialog(this); dialog.exec(); diff --git a/src/core/MainWindow.h b/src/core/MainWindow.h index a180e0f3..7f9b5e73 100644 --- a/src/core/MainWindow.h +++ b/src/core/MainWindow.h @@ -181,7 +181,7 @@ private slots: void on_actionBackward_triggered(); void on_actionForward_triggered(); - void on_actionOpen_triggered(); + void on_actionMap_triggered(); void on_actionTabs_on_Top_triggered(); diff --git a/src/core/MainWindow.ui b/src/core/MainWindow.ui index dc04bc75..58bc8541 100644 --- a/src/core/MainWindow.ui +++ b/src/core/MainWindow.ui @@ -61,7 +61,7 @@ File - + @@ -257,7 +257,7 @@ - New + New Window Ctrl+N @@ -281,12 +281,12 @@ Documentation - + - Open + Map File - Ctrl+O + Ctrl+M