Skip to content

Commit

Permalink
Fix an incorrect scoped function call (introduced in #1093)
Browse files Browse the repository at this point in the history
  • Loading branch information
mahaloz committed Jul 18, 2024
1 parent 6ddd780 commit 2066ca0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gef.py
Original file line number Diff line number Diff line change
Expand Up @@ -9974,7 +9974,7 @@ def add_context_pane(self, pane_name: str, display_pane_function: Callable, pane
corrected_settings_name: str = pane_name.replace(" ", "_")
gef.config["context.layout"] += f" {corrected_settings_name}"

add_context_layout_mapping(corrected_settings_name, display_pane_function, pane_title_function, condition)
self.add_context_layout_mapping(corrected_settings_name, display_pane_function, pane_title_function, condition)

def load(self) -> None:
"""Load all the commands and functions defined by GEF into GDB."""
Expand Down

0 comments on commit 2066ca0

Please sign in to comment.