diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2025-07-31 18:02:31 -0400 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2025-07-31 18:02:31 -0400 |
| commit | 27223cecc131198166e02b7a3387b65d04daca00 (patch) | |
| tree | 5fdc053328077984df850c25c463e81b1eb83abb /ui | |
| parent | 3d5ac05a769ff4fef122ef1f9fe90c0c2b65b2e9 (diff) | |
correct fix for s and i hotkeys in type browser
Diffstat (limited to 'ui')
| -rw-r--r-- | ui/typebrowser.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/typebrowser.h b/ui/typebrowser.h index b2fdcab2..61849aed 100644 --- a/ui/typebrowser.h +++ b/ui/typebrowser.h @@ -472,8 +472,8 @@ public: // makeSureItHasPlatform: if the type container is a BV with no platform (raw), ask for one and return nullopt if rejected // preferView: if the type container is a BV and the user/auto-only container, switch to the whole-view container for that BV instead std::optional<BinaryNinja::TypeContainer> selectedTypeContainer(bool makeSureItHasPlatform = true, bool preferView = false) const; - // Same as above, but if it returns nullopt, try again with m_data - std::optional<BinaryNinja::TypeContainer> selectedTypeContainerOrMData(bool makeSureItHasPlatform = true, bool preferView = false) const; + // Which (selection preferred) container should be used for creating new types + std::optional<BinaryNinja::TypeContainer> typeContainerForCreating(bool makeSureItHasPlatform = true, bool preferView = false) const; // Selected type container ids, or containers of selected types std::unordered_set<std::string> selectedTypeContainerIds() const; |
