diff options
| author | Brian Potchik <brian@vector35.com> | 2025-11-02 18:29:25 -0500 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2025-11-02 18:29:25 -0500 |
| commit | 46ac6beced5b4fcb5f154a2825ee34174f2123c6 (patch) | |
| tree | 4ed1f25fb32b6b6a3069d5d9ce8d2861d6db658e | |
| parent | 01c9f9a2df334909fae97abdfe695b620c7161bb (diff) | |
Prioritize Container Browser for file open actions and enable direct opening through the Container Browser dialog.
| -rw-r--r-- | ui/containerbrowser.h | 2 | ||||
| -rw-r--r-- | ui/options.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ui/containerbrowser.h b/ui/containerbrowser.h index 289dc7c7..aaeee437 100644 --- a/ui/containerbrowser.h +++ b/ui/containerbrowser.h @@ -107,5 +107,5 @@ public: QStringList selectedPaths() const { return m_selectedPaths; } - static std::vector<TransformContextRef> openContainerFile(const QString& path); + static std::vector<TransformContextRef> openContainerFile(const QString& path, bool forceShowDialog = false); }; diff --git a/ui/options.h b/ui/options.h index 764cb85c..9b41693b 100644 --- a/ui/options.h +++ b/ui/options.h @@ -53,7 +53,7 @@ class BINARYNINJAUIAPI OptionsDialog : public QDialog public: OptionsDialog(QWidget* parent, const QString& name); virtual ~OptionsDialog(); - bool loadViews(BinaryViewRef existingView = nullptr); + bool loadViews(BinaryViewRef existingView = nullptr, bool isDatabase = false); Q_SIGNALS: void openFile(FileContext* file); |
