summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLostDragonist <lost.dragonist@gmail.com>2019-01-19 15:15:31 -0600
committerLostDragonist <lost.dragonist@gmail.com>2019-01-19 15:15:48 -0600
commit6d36f1d959e06ca1db43b5f6158e73ebf0ec5459 (patch)
tree9ca7af0b9fe0da71f60cbb8478b5003035a7fa25 /src
parente6e8ce1d686d9b208276d84ca312d18d0f40caff (diff)
Fix forced libraries when using shortcuts
Diffstat (limited to 'src')
-rw-r--r--src/organizercore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/organizercore.cpp b/src/organizercore.cpp
index e72b9a50..90e702ef 100644
--- a/src/organizercore.cpp
+++ b/src/organizercore.cpp
@@ -1427,7 +1427,7 @@ HANDLE OrganizerCore::runShortcut(const MOShortcut& shortcut)
Executable& exe = m_ExecutablesList.find(shortcut.executable());
auto forcedLibaries = m_CurrentProfile->determineForcedLibraries(shortcut.executable());
- if (!m_CurrentProfile->forcedLibrariesEnabled(exe.m_BinaryInfo.fileName())) {
+ if (!m_CurrentProfile->forcedLibrariesEnabled(shortcut.executable())) {
forcedLibaries.clear();
}