From 36dfe5795f3e70ad9ac4954544899bf38c919ca7 Mon Sep 17 00:00:00 2001 From: Serg Podtynnyi Date: Sun, 29 Jan 2023 02:49:38 +0700 Subject: Selects next item in list after delete/trash actions BUG: 419914 BUG: 181214 --- src/views/dolphinview.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/views/dolphinview.h') diff --git a/src/views/dolphinview.h b/src/views/dolphinview.h index 8cf23c298..cadf3e754 100644 --- a/src/views/dolphinview.h +++ b/src/views/dolphinview.h @@ -796,6 +796,11 @@ private Q_SLOTS: */ void observeCreatedItem(const QUrl &url); + /** + * Selects the next item after prev selection deleted/trashed + */ + void selectNextItem(); + /** * Called when a redirection happens. * Testcase: fish://localhost @@ -893,6 +898,7 @@ private: bool m_isFolderWritable; bool m_dragging; // True if a dragging is done. Required to be able to decide whether a // tooltip may be shown when hovering an item. + bool m_selectNextItem; enum class LoadingState { Idle, Loading, Canceled, Completed }; LoadingState m_loadingState = LoadingState::Idle; -- cgit v1.3.1