summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui/addressdialog.h2
-rw-r--r--ui/viewframe.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/ui/addressdialog.h b/ui/addressdialog.h
index ae30639b..212b7a7a 100644
--- a/ui/addressdialog.h
+++ b/ui/addressdialog.h
@@ -64,7 +64,7 @@ private Q_SLOTS:
public:
AddressDialogWithPreview(QWidget* parent, BinaryViewRef view, uint64_t here,
- const QString& title = "Go to Address", const QString& prompt = "Enter Expression");
+ const QString& title = "Go to Address", const QString& prompt = "Enter Expression", bool defaultToCurrent = false);
~AddressDialogWithPreview() { delete m_updateThread; }
uint64_t getOffset() const { return m_addr; }
};
diff --git a/ui/viewframe.h b/ui/viewframe.h
index a4c3940d..1a1c0398 100644
--- a/ui/viewframe.h
+++ b/ui/viewframe.h
@@ -238,7 +238,7 @@ public:
static bool getAddressFromString(QWidget* parent, BinaryViewRef data, uint64_t& offset,
uint64_t currentAddress, const QString& addrStr, std::string& errorString);
static bool getAddressFromInput(QWidget* parent, BinaryViewRef data, uint64_t& offset,
- uint64_t currentAddress, const QString& title = "Go to Address", const QString& msg = "Address:");
+ uint64_t currentAddress, const QString& title = "Go to Address", const QString& msg = "Address:", bool defaultToCurrent = false);
void setCurrentFunction(FunctionRef func);
void updateCrossReferences();