Skip to content

Commit 06b22e0

Browse files
Add direct link to manual under Help
1 parent 17e4cbf commit 06b22e0

File tree

4 files changed

+15
-0
lines changed

4 files changed

+15
-0
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project somewhat adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). The MAJOR version number is bumped when there are **"Breaking Changes"** in the pret projects. For more on this, see [the manual page on breaking changes](https://huderlem.github.io/porymap/manual/breaking-changes.html).
66

77
## [Unreleased]
8+
### Added
9+
- A link to Porymap's manual is now available under `Help`.
10+
811
### Changed
912
- The scroll position of the map view now remains the same between the Connections tab and the Map/Events tabs.
1013
- The Move tool now behaves more like a traditional pan tool (with no momentum).

forms/mainwindow.ui

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2926,6 +2926,7 @@
29262926
<string>Help</string>
29272927
</property>
29282928
<addaction name="actionAbout_Porymap"/>
2929+
<addaction name="actionOpen_Manual"/>
29292930
<addaction name="actionOpen_Log_File"/>
29302931
<addaction name="actionOpen_Config_Folder"/>
29312932
<addaction name="actionCheck_for_Updates"/>
@@ -3267,6 +3268,11 @@
32673268
<string>Alt+Right</string>
32683269
</property>
32693270
</action>
3271+
<action name="actionOpen_Manual">
3272+
<property name="text">
3273+
<string>Open Manual</string>
3274+
</property>
3275+
</action>
32703276
</widget>
32713277
<layoutdefault spacing="6" margin="11"/>
32723278
<customwidgets>

include/mainwindow.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ private slots:
286286
void on_spinBox_SelectedCollision_valueChanged(int collision);
287287
void on_actionRegion_Map_Editor_triggered();
288288
void on_actionPreferences_triggered();
289+
void on_actionOpen_Manual_triggered();
289290
void on_actionCheck_for_Updates_triggered();
290291
void togglePreferenceSpecificUi();
291292
void on_actionProject_Settings_triggered();

src/mainwindow.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2905,6 +2905,11 @@ void MainWindow::on_actionOpen_Config_Folder_triggered() {
29052905
QDesktopServices::openUrl(QUrl::fromLocalFile(QStandardPaths::writableLocation(QStandardPaths::AppDataLocation)));
29062906
}
29072907

2908+
void MainWindow::on_actionOpen_Manual_triggered() {
2909+
static const QUrl url("https://huderlem.github.io/porymap/");
2910+
QDesktopServices::openUrl(url);
2911+
}
2912+
29082913
void MainWindow::on_actionPreferences_triggered() {
29092914
if (!preferenceEditor) {
29102915
preferenceEditor = new PreferenceEditor(this);

0 commit comments

Comments
 (0)