┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/dolphinview.h
diff options
context:
space:
mode:
authorSerg Podtynnyi <[email protected]>2023-01-29 02:49:38 +0700
committerSerg Podtynnyi <[email protected]>2023-02-06 10:47:49 +0700
commit36dfe5795f3e70ad9ac4954544899bf38c919ca7 (patch)
treeea9617040f70e6333ad10247cbf33237f0d79c42 /src/views/dolphinview.h
parentb6c280c306a8256f3359407af915f9888fff2231 (diff)
Selects next item in list after delete/trash actions
BUG: 419914 BUG: 181214
Diffstat (limited to 'src/views/dolphinview.h')
-rw-r--r--src/views/dolphinview.h6
1 files changed, 6 insertions, 0 deletions
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
@@ -797,6 +797,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;