diff options
| author | Seth Riley <17361645+Qudix@users.noreply.github.com> | 2020-11-03 18:38:45 -0600 |
|---|---|---|
| committer | Seth Riley <17361645+Qudix@users.noreply.github.com> | 2020-11-03 18:38:45 -0600 |
| commit | 34e1d05c28bf4676ed8d3e97e969187a05d215b6 (patch) | |
| tree | 285a418b970ba5daacf0c307cb98ed59fd31cda1 /src/filetree.cpp | |
| parent | 68750575d2f28c873b0d68391a7940e61c2ad2d4 (diff) | |
| parent | a7d4f2a0c40d35d547e93994be3f92b6d43a0833 (diff) | |
Merge branch 'master' of https://github.com/ModOrganizer2/modorganizer into master
Diffstat (limited to 'src/filetree.cpp')
| -rw-r--r-- | src/filetree.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/filetree.cpp b/src/filetree.cpp index 1dadfaad..f46216b5 100644 --- a/src/filetree.cpp +++ b/src/filetree.cpp @@ -591,16 +591,16 @@ bool FileTree::showShellMenu(QPoint pos) } for (auto&& alt : alts) { - auto itor = menus.find(alt.first); + auto itor = menus.find(alt.originID()); if (itor == menus.end()) { - itor = menus.emplace(alt.first, mw).first; + itor = menus.emplace(alt.originID(), mw).first; } - const auto fullPath = file->getFullPath(alt.first); + const auto fullPath = file->getFullPath(alt.originID()); if (fullPath.empty()) { log::error( "file {} not found in origin {}", - item->dataRelativeFilePath(), alt.first); + item->dataRelativeFilePath(), alt.originID()); continue; } |
