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:31 -0600
commit952a9c2dedf63e4b9b182b7dce379c4fe7898355 (patch)
tree8c8760b2c80ca7fc0588361f9ebd79a67c4037e3 /src
parenta63d12bd0f586576855da9f36018c5844d620064 (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 885afeff..6710f89a 100644
--- a/src/organizercore.cpp
+++ b/src/organizercore.cpp
@@ -1437,7 +1437,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();
}