diff options
| author | Mark Rowe <mark@vector35.com> | 2025-10-24 08:21:26 -0700 |
|---|---|---|
| committer | Mark Rowe <mark@vector35.com> | 2025-11-04 16:04:04 -0800 |
| commit | ade58079a0a3e6b9d1a0793ab4c084d0f9431f4d (patch) | |
| tree | 1970e1e26858163d24d1359908b529f363789034 /plugins/warp | |
| parent | 63ef49621522efa11e1fcfc709812adb0300d3f6 (diff) | |
Update FilterEdit and FilterTarget to preserve existing selections
The down and enter keys now preserve an existing selection in the
associated list or table views, rather than unconditionally selecting or
activating the first item.
Diffstat (limited to 'plugins/warp')
| -rw-r--r-- | plugins/warp/ui/shared/constraint.h | 4 | ||||
| -rw-r--r-- | plugins/warp/ui/shared/function.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/warp/ui/shared/constraint.h b/plugins/warp/ui/shared/constraint.h index edee36e5..02702144 100644 --- a/plugins/warp/ui/shared/constraint.h +++ b/plugins/warp/ui/shared/constraint.h @@ -64,7 +64,7 @@ public: void scrollToCurrentItem() override {} - void selectFirstItem() override {} + void ensureSelection() override {} - void activateFirstItem() override {} + void activateSelection() override {} }; diff --git a/plugins/warp/ui/shared/function.h b/plugins/warp/ui/shared/function.h index 6281944d..23b2bd3b 100644 --- a/plugins/warp/ui/shared/function.h +++ b/plugins/warp/ui/shared/function.h @@ -129,9 +129,9 @@ public: void scrollToCurrentItem() override {} - void selectFirstItem() override {} + void ensureSelection() override {} - void activateFirstItem() override {} + void activateSelection() override {} }; class WarpFunctionInfoWidget : public QWidget |
