summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui/commandpalette.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/commandpalette.h b/ui/commandpalette.h
index d697f608..fcb27b31 100644
--- a/ui/commandpalette.h
+++ b/ui/commandpalette.h
@@ -158,7 +158,7 @@ class BINARYNINJAUIAPI CommandPalette : public QFrame
//! Activate the focused item, or topmost item if there is no selection.
void activateFocusedItem();
void selectFirstItem();
- void close();
+ void close(bool restoreFocus = true);
private Q_SLOTS:
void itemClicked(const QModelIndex& idx);