diff options
| -rw-r--r-- | src/modinfodialogfiletree.cpp | 5 | ||||
| -rw-r--r-- | src/organizer_en.ts | 16 |
2 files changed, 13 insertions, 8 deletions
diff --git a/src/modinfodialogfiletree.cpp b/src/modinfodialogfiletree.cpp index 2c33a7f1..cc0e6493 100644 --- a/src/modinfodialogfiletree.cpp +++ b/src/modinfodialogfiletree.cpp @@ -148,6 +148,11 @@ void FileTreeTab::onActivated() return; } + // Don't open explorer on directories as we just want them to be expanded instead. + if (m_fs->isDir(selection)) { + return; + } + const auto path = m_fs->filePath(selection); const auto tryPreview = core().settings().interface().doubleClicksOpenPreviews(); diff --git a/src/organizer_en.ts b/src/organizer_en.ts index 593e4457..633073a0 100644 --- a/src/organizer_en.ts +++ b/src/organizer_en.ts @@ -1283,7 +1283,7 @@ Right now the only case I know of where this needs to be overwritten is for the </message> <message> <location filename="modinfodialogfiletree.cpp" line="27"/> - <location filename="modinfodialogfiletree.cpp" line="473"/> + <location filename="modinfodialogfiletree.cpp" line="478"/> <source>Open with &VFS</source> <translation type="unfinished"></translation> </message> @@ -1329,37 +1329,37 @@ Right now the only case I know of where this needs to be overwritten is for the <translation type="unfinished"></translation> </message> <message> - <location filename="modinfodialogfiletree.cpp" line="238"/> + <location filename="modinfodialogfiletree.cpp" line="243"/> <source>Are you sure you want to delete "%1"?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="modinfodialogfiletree.cpp" line="240"/> + <location filename="modinfodialogfiletree.cpp" line="245"/> <source>Are you sure you want to delete the selected files?</source> <translation type="unfinished"></translation> </message> <message> - <location filename="modinfodialogfiletree.cpp" line="243"/> + <location filename="modinfodialogfiletree.cpp" line="248"/> <source>Confirm</source> <translation type="unfinished"></translation> </message> <message> - <location filename="modinfodialogfiletree.cpp" line="278"/> + <location filename="modinfodialogfiletree.cpp" line="283"/> <source>Failed to delete %1</source> <translation type="unfinished"></translation> </message> <message> - <location filename="modinfodialogfiletree.cpp" line="469"/> + <location filename="modinfodialogfiletree.cpp" line="474"/> <source>&Execute</source> <translation type="unfinished"></translation> </message> <message> - <location filename="modinfodialogfiletree.cpp" line="470"/> + <location filename="modinfodialogfiletree.cpp" line="475"/> <source>Execute with &VFS</source> <translation type="unfinished"></translation> </message> <message> - <location filename="modinfodialogfiletree.cpp" line="472"/> + <location filename="modinfodialogfiletree.cpp" line="477"/> <source>&Open</source> <translation type="unfinished"></translation> </message> |
