diff options
| author | Brian Potchik <brian@vector35.com> | 2020-11-21 16:58:38 -0500 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2020-11-21 16:58:38 -0500 |
| commit | 83cc0f42bec4006cc6f8adb067748b63e93abb45 (patch) | |
| tree | 0805008549b1418dde4dfb679feb148d30f4b191 | |
| parent | cd538c8f8cf66099c22c0ffa8e42647861f04107 (diff) | |
Fix 'create function with platform' in the UI to respect the user preferred platform.
| -rw-r--r-- | ui/hexeditor.h | 2 | ||||
| -rw-r--r-- | 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(); |
