mirror of
https://invent.kde.org/system/dolphin
synced 2024-10-28 03:21:56 +00:00
Merge branch 'release/21.04'
This commit is contained in:
commit
5c3e9ac90f
|
@ -210,7 +210,7 @@ void DolphinTabWidget::openDirectories(const QList<QUrl>& dirs, bool splitView)
|
||||||
// Required for updateViewState() call in openFiles() to work as expected
|
// Required for updateViewState() call in openFiles() to work as expected
|
||||||
// If there is a selection, updateViewState() calls are effectively a no-op
|
// If there is a selection, updateViewState() calls are effectively a no-op
|
||||||
tabPage->activeViewContainer()->view()->clearSelection();
|
tabPage->activeViewContainer()->view()->clearSelection();
|
||||||
} else if (splitView) {
|
} else if (splitView && (it != dirs.constEnd())) {
|
||||||
const QUrl& secondaryUrl = *(it++);
|
const QUrl& secondaryUrl = *(it++);
|
||||||
if (somethingWasAlreadyOpen) {
|
if (somethingWasAlreadyOpen) {
|
||||||
openNewTab(primaryUrl, secondaryUrl);
|
openNewTab(primaryUrl, secondaryUrl);
|
||||||
|
|
Loading…
Reference in a new issue