diff options
| author | Xusheng <xusheng@vector35.com> | 2025-06-26 14:04:37 +0800 |
|---|---|---|
| committer | Xusheng <xusheng@vector35.com> | 2025-06-26 14:04:37 +0800 |
| commit | f273d760c254176dcfc746deb3a16348fdcea87c (patch) | |
| tree | 270d06e43f96f551459b785688e219e30e540c7b /ui/createstructdialog.h | |
| parent | f96714b2b96d890004e20e027aa5c8ceac7af0e2 (diff) | |
Fold the base structure fields in the create structure dialog by default. Fix https://github.com/Vector35/binaryninja-api/issues/4268
Diffstat (limited to 'ui/createstructdialog.h')
| -rw-r--r-- | ui/createstructdialog.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/createstructdialog.h b/ui/createstructdialog.h index 0e331a2a..8718325f 100644 --- a/ui/createstructdialog.h +++ b/ui/createstructdialog.h @@ -9,6 +9,7 @@ #include <QtWidgets/QComboBox> #include "binaryninjaapi.h" #include "uicontext.h" +#include "expandablegroup.h" /*! @@ -78,6 +79,7 @@ class BINARYNINJAUIAPI CreateStructDialog : public QDialog QPushButton* m_addBase; QCheckBox* m_propagateDataVarRefs; QCheckBox* m_pointer; + ExpandableGroup* m_baseStructGroup; std::optional<BinaryNinja::TypeContainer> m_typeContainer; BinaryNinja::QualifiedName m_resultName; @@ -92,6 +94,7 @@ class BINARYNINJAUIAPI CreateStructDialog : public QDialog std::vector<BinaryNinja::BaseStructure> m_bases; + void saveSettings(); virtual void customEvent(QEvent* event) override; public: |
