┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNate Graham <[email protected]>2021-03-31 10:17:58 -0600
committerNate Graham <[email protected]>2021-03-31 10:17:58 -0600
commit5c3e9ac90f38c37f461918ef81d2aad2d1a62008 (patch)
tree0c2f47cb5ad6c8100f92f292191c461c6c54054b
parentb0c30bea139754cef6ded6fecb7b1d095e60081a (diff)
parentb9139c5e1c4ccdaad5876da6005f6ac1000ee694 (diff)
Merge branch 'release/21.04'
-rw-r--r--src/dolphintabwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphintabwidget.cpp b/src/dolphintabwidget.cpp
index 17fa0ff4e..0a024235b 100644
--- a/src/dolphintabwidget.cpp
+++ b/src/dolphintabwidget.cpp
@@ -210,7 +210,7 @@ void DolphinTabWidget::openDirectories(const QList<QUrl>& dirs, bool splitView)
// Required for updateViewState() call in openFiles() to work as expected
// If there is a selection, updateViewState() calls are effectively a no-op
tabPage->activeViewContainer()->view()->clearSelection();
- } else if (splitView) {
+ } else if (splitView && (it != dirs.constEnd())) {
const QUrl& secondaryUrl = *(it++);
if (somethingWasAlreadyOpen) {
openNewTab(primaryUrl, secondaryUrl);