From 7af0e164f778ee8b2135e097856a597f5d68b873 Mon Sep 17 00:00:00 2001
From: isanae <14251494+isanae@users.noreply.github.com>
Date: Sat, 14 Dec 2019 13:49:26 -0500
Subject: don't activate the root data item
---
src/mainwindow.cpp | 4 ++
src/organizer_en.ts | 134 ++++++++++++++++++++++++++--------------------------
2 files changed, 71 insertions(+), 67 deletions(-)
(limited to 'src')
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index ea202064..a29ea8ab 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -5305,6 +5305,10 @@ void MainWindow::activateDataTreeItem(QTreeWidgetItem *item, int column)
}
const QString path = item->data(0, Qt::UserRole).toString();
+ if (path.isEmpty()) {
+ return;
+ }
+
const QFileInfo targetInfo(path);
const auto tryPreview = m_OrganizerCore.settings().interface().doubleClicksOpenPreviews();
diff --git a/src/organizer_en.ts b/src/organizer_en.ts
index 633073a0..00bb771c 100644
--- a/src/organizer_en.ts
+++ b/src/organizer_en.ts
@@ -1576,53 +1576,53 @@ Right now the only case I know of where this needs to be overwritten is for the
-
+ None of the available installer plugins were able to handle that archive.
This is likely due to a corrupted or incompatible download or unrecognized archive format.
-
+ no error
-
+ 7z.dll not found
-
+ 7z.dll isn't valid
-
+ archive not found
-
+ failed to open archive
-
+ unsupported archive type
-
+ internal library error
-
+ archive invalid
-
+ unknown archive error
@@ -2051,7 +2051,7 @@ p, li { white-space: pre-wrap; }
-
+ Refresh
@@ -2336,7 +2336,7 @@ p, li { white-space: pre-wrap; }
-
+ Endorse Mod Organizer
@@ -2782,7 +2782,7 @@ Please enter a name:
-
+ Are you sure?
@@ -3123,13 +3123,13 @@ You can also use online editors and converters instead.
-
+ Enable selected
-
+ Disable selected
@@ -3205,13 +3205,13 @@ You can also use online editors and converters instead.
-
+ Exception:
-
+ Unknown exception
@@ -3331,7 +3331,7 @@ You can also use online editors and converters instead.
-
+ Set Priority
@@ -3341,236 +3341,236 @@ You can also use online editors and converters instead.
-
+ Update available
-
+ &Execute
-
+ Execute with &VFS
-
+ &Open
-
+ Open with &VFS
-
+ &Add as Executable
-
+ Preview
-
+ Un-Hide
-
+ Hide
-
+ Write To File...
-
+ Do you want to endorse Mod Organizer on %1 now?
-
+ Abstain from Endorsing Mod Organizer
-
+ Are you sure you want to abstain from endorsing Mod Organizer 2?
You will have to visit the mod page on the %1 Nexus site to change your mind.
-
+ Thank you for endorsing MO2! :)
-
+ Please reconsider endorsing MO2 on Nexus!
-
+ Thank you!
-
+ Thank you for your endorsement!
-
+ Mod ID %1 no longer seems to be available on Nexus.
-
+ Request to Nexus failed: %1
-
-
+
+ failed to read %1: %2
-
+ Error
-
+ failed to extract %1 (errorcode %2)
-
+ Extract BSA
-
+ This archive contains invalid hashes. Some files may be broken.
-
+ Extract...
-
+ This will restart MO, continue?
-
+ <Multiple>
-
+ Remove '%1' from the toolbar
-
+ Enable all
-
+ Disable all
-
+ Unlock load order
-
+ Lock load order
-
+ Open Origin in Explorer
-
+ Open Origin Info...
-
+ Backup of load order created
-
+ Choose backup to restore
-
+ No Backups
-
+ There are no backups to restore
-
-
+
+ Restore failed
-
-
+
+ Failed to restore the backup. Errorcode: %1
-
+ Backup of mod list created
-
+ A file with the same name has already been downloaded. What would you like to do?
-
+ Overwrite
-
+ Rename new file
-
+ Ignore file
-
+ Set the priority of the selected mods
--
cgit v1.3.1