summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui/pane.h1
-rw-r--r--ui/viewframe.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/ui/pane.h b/ui/pane.h
index 4a0941c4..02bec3b0 100644
--- a/ui/pane.h
+++ b/ui/pane.h
@@ -416,6 +416,7 @@ class BINARYNINJAUIAPI SplitPaneWidget : public QWidget
void closing();
#ifndef BINARYNINJAUI_BINDINGS
+ bool hasInitialLocationState() { return !m_locations.empty(); }
void applyInitialLocationState();
QVariantMap serializeLayout();
void deserializeLayout(const QVariantMap& layout);
diff --git a/ui/viewframe.h b/ui/viewframe.h
index 7be57ed1..60dca568 100644
--- a/ui/viewframe.h
+++ b/ui/viewframe.h
@@ -462,8 +462,9 @@ class BINARYNINJAUIAPI ViewFrame : public QWidget
Parse history entries from the raw data associated with a BinaryView, loading them into the back/forward
navigation stacks, and navigating to the saved position.
\param data View containing history entries
+ \param restoreLocation whether or not to navigate to the location stored in the database
*/
- void readHistoryEntries(BinaryViewRef data);
+ void readHistoryEntries(BinaryViewRef data, bool restoreLocation);
/*!
Serialize history entries and current position, storing them in the raw data associated with a BinaryView.
\param data View for saving history entries