From 83cc0f42bec4006cc6f8adb067748b63e93abb45 Mon Sep 17 00:00:00 2001 From: Brian Potchik Date: Sat, 21 Nov 2020 16:58:38 -0500 Subject: Fix 'create function with platform' in the UI to respect the user preferred platform. --- ui/hexeditor.h | 2 +- ui/linearview.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/hexeditor.h b/ui/hexeditor.h index 00a583f6..3ebb2afe 100644 --- a/ui/hexeditor.h +++ b/ui/hexeditor.h @@ -189,7 +189,7 @@ Q_SIGNALS: public Q_SLOTS: void disassembly(); void createFunc(); - void createFuncWithPlatform(PlatformRef platform); + void createFuncWithPlatform(PlatformRef platform, bool autoSelect = false); private Q_SLOTS: void scrollBarMoved(int value); diff --git a/ui/linearview.h b/ui/linearview.h index a8a85663..2ac54d1b 100644 --- a/ui/linearview.h +++ b/ui/linearview.h @@ -223,7 +223,7 @@ private Q_SLOTS: void setUserVariableValue(); void clearUserVariableValue(); void createFunc(); - void createFuncWithPlatform(PlatformRef platform); + void createFuncWithPlatform(PlatformRef platform, bool autoSelect = false); void defineFuncName(); void undefineFunc(); void reanalyze(); -- cgit v1.3.1