mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Should fix issue #103.
This commit is contained in:
@@ -444,6 +444,9 @@ namespace boss {
|
||||
BOOST_LOG_TRIVIAL(trace) << "Calculating metadata difference for: " << name;
|
||||
Plugin p(*this);
|
||||
|
||||
if (p.Priority() == plugin.Priority())
|
||||
p.Priority(0); //So that non-zero priorities don't get written to the userlist if they're already in the masterlist.
|
||||
|
||||
//Compare this plugin against the given plugin.
|
||||
set<File> files = plugin.LoadAfter();
|
||||
set<File> filesDiff;
|
||||
|
||||
+2
-2
@@ -301,8 +301,8 @@ void Editor::OnPluginSelect(wxListEvent& event) {
|
||||
if (!currentPlugin.empty())
|
||||
ApplyEdits(currentPlugin);
|
||||
|
||||
boss::Plugin plugin = GetMasterData(selectedPlugin);
|
||||
plugin.Merge(GetUserData(selectedPlugin), true);
|
||||
boss::Plugin plugin = GetUserData(selectedPlugin);
|
||||
plugin.Merge(GetMasterData(selectedPlugin), true);
|
||||
|
||||
//Now fill editor fields with new plugin's info and update control states.
|
||||
BOOST_LOG_TRIVIAL(debug) << "Filling editor fields with plugin info.";
|
||||
|
||||
Reference in New Issue
Block a user