From 1a9be2ee9d1ac8d3506f9d2adbe0f25cf6d2f84d Mon Sep 17 00:00:00 2001 From: Josh Ferrell Date: Mon, 17 Jul 2023 13:58:48 -0400 Subject: Disable back/forward arrow if there aren't any back/forward locations --- ui/viewframe.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/viewframe.h b/ui/viewframe.h index 74b87624..4bf704e1 100644 --- a/ui/viewframe.h +++ b/ui/viewframe.h @@ -465,6 +465,8 @@ class BINARYNINJAUIAPI ViewFrame : public QWidget \param data View for saving history entries */ void writeHistoryEntries(BinaryViewRef data); + bool canNavigateBack(); + bool canNavigateForward(); void back(); void forward(); -- cgit v1.3.1