config manager: post RuneScapeProfileChanged when new profiles are created

This commit is contained in:
Adam
2022-03-05 21:39:58 -05:00
parent d842bacd2c
commit f2b43743c3

View File

@@ -564,6 +564,8 @@ public class ConfigManager
RuneScapeProfile prof = findRSProfile(getRSProfiles(), username, RuneScapeProfileType.getCurrent(client), displayName, true);
rsProfileKey = prof.getKey();
this.rsProfileKey = rsProfileKey;
eventBus.post(new RuneScapeProfileChanged());
}
setConfiguration(groupName, rsProfileKey, key, value);
}