Skip to content

Commit 46ac6be

Browse files
committed
Prioritize Container Browser for file open actions and enable direct opening through the Container Browser dialog.
1 parent 01c9f9a commit 46ac6be

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ui/containerbrowser.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,5 +107,5 @@ class BINARYNINJAUIAPI ContainerBrowser : public QDialog
107107

108108
QStringList selectedPaths() const { return m_selectedPaths; }
109109

110-
static std::vector<TransformContextRef> openContainerFile(const QString& path);
110+
static std::vector<TransformContextRef> openContainerFile(const QString& path, bool forceShowDialog = false);
111111
};

ui/options.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class BINARYNINJAUIAPI OptionsDialog : public QDialog
5353
public:
5454
OptionsDialog(QWidget* parent, const QString& name);
5555
virtual ~OptionsDialog();
56-
bool loadViews(BinaryViewRef existingView = nullptr);
56+
bool loadViews(BinaryViewRef existingView = nullptr, bool isDatabase = false);
5757

5858
Q_SIGNALS:
5959
void openFile(FileContext* file);

0 commit comments

Comments
 (0)