]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/global.cpp
Fix a regression preventing previews to be resized
[dolphin.git] / src / global.cpp
index 42044c97dc6b4aab31467ecc1e42e40f01e28eea..4547faced407a9244eeb84e47bc47f07e6d79c70 100644 (file)
@@ -73,7 +73,7 @@ void Dolphin::openNewWindow(const QList<QUrl> &urls, QWidget *window, const Open
 bool Dolphin::attachToExistingInstance(const QList<QUrl>& inputUrls, bool openFiles, bool splitView, const QString& preferredService)
 {
     // TODO: once Wayland clients can raise or activate themselves remove check from conditional
-    if (KWindowSystem::isPlatformWayland() || inputUrls.isEmpty()) {
+    if (KWindowSystem::isPlatformWayland() || inputUrls.isEmpty() || !GeneralSettings::openExternallyCalledFolderInNewTab()) {
         return false;
     }