summaryrefslogtreecommitdiff
path: root/src/gui/popups
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/popups')
-rw-r--r--src/gui/popups/popupmenu.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index 9a3f7f753..620d9c050 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -25,6 +25,7 @@
#include "actormanager.h"
#include "configuration.h"
#include "party.h"
+#include "settings.h"
#include "being/flooritem.h"
#include "being/localplayer.h"
@@ -742,6 +743,12 @@ void PopupMenu::showMapPopup(const int x, const int y,
// TRANSLATORS: popup menu item
// TRANSLATORS: move camera to map item
mBrowserBox->addRow("/movecamera 'X' 'Y'", _("Move camera"));
+ if (settings.cameraMode != 0)
+ {
+ // TRANSLATORS: popup menu item
+ // TRANSLATORS: restore camera to default view
+ mBrowserBox->addRow("/restorecamera", _("Restore camera"));
+ }
mBrowserBox->addRow("##3---");
if (isMinimap)
{