summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2023-09-24 11:45:14 -0400
committerBrian Potchik <brian@vector35.com>2023-09-24 11:45:14 -0400
commit74c5a90a58cc053983ce9e550f2260e276975bfe (patch)
tree2b83cc0422b2f62446fb095e6bb68cf17e7df6b2
parent77d6ab57c9beb60a2ffb450a8603bad9c53902d6 (diff)
Add action to open settings for current binary view.
-rw-r--r--ui/settingsview.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/settingsview.h b/ui/settingsview.h
index 30a6007f..9aa36cf5 100644
--- a/ui/settingsview.h
+++ b/ui/settingsview.h
@@ -327,6 +327,7 @@ class BINARYNINJAUIAPI BinaryViewScopeLabel : public MenuHelper
BinaryViewScopeLabel(QWidget* parent, const QString& name = "", BNSettingsScope scope = SettingsAutoScope);
void refresh();
+ void setSelection(BinaryViewRef view, BNSettingsScope scope);
const QString& currentSelection() { return m_curName; }
BinaryViewRef currentBinaryView() { return m_curView; }
@@ -359,6 +360,7 @@ class BINARYNINJAUIAPI SettingsScopeBar : public QWidget
SettingsScopeBar(QWidget* parent = nullptr);
void refresh();
+ void setResource(BinaryViewRef view);
void updateTheme();
Q_SIGNALS: