Skip to content

Commit 27223ce

Browse files
committed
correct fix for s and i hotkeys in type browser
1 parent 3d5ac05 commit 27223ce

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ui/typebrowser.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -472,8 +472,8 @@ class BINARYNINJAUIAPI TypeBrowserView : public QFrame, public View, public Filt
472472
// makeSureItHasPlatform: if the type container is a BV with no platform (raw), ask for one and return nullopt if rejected
473473
// preferView: if the type container is a BV and the user/auto-only container, switch to the whole-view container for that BV instead
474474
std::optional<BinaryNinja::TypeContainer> selectedTypeContainer(bool makeSureItHasPlatform = true, bool preferView = false) const;
475-
// Same as above, but if it returns nullopt, try again with m_data
476-
std::optional<BinaryNinja::TypeContainer> selectedTypeContainerOrMData(bool makeSureItHasPlatform = true, bool preferView = false) const;
475+
// Which (selection preferred) container should be used for creating new types
476+
std::optional<BinaryNinja::TypeContainer> typeContainerForCreating(bool makeSureItHasPlatform = true, bool preferView = false) const;
477477
// Selected type container ids, or containers of selected types
478478
std::unordered_set<std::string> selectedTypeContainerIds() const;
479479

0 commit comments

Comments
 (0)