summaryrefslogtreecommitdiff
path: root/src/organizercore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/organizercore.cpp')
-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();
}