config manager: post RuneScapeProfileChanged when new profiles are created
This commit is contained in:
@@ -564,6 +564,8 @@ public class ConfigManager
|
|||||||
RuneScapeProfile prof = findRSProfile(getRSProfiles(), username, RuneScapeProfileType.getCurrent(client), displayName, true);
|
RuneScapeProfile prof = findRSProfile(getRSProfiles(), username, RuneScapeProfileType.getCurrent(client), displayName, true);
|
||||||
rsProfileKey = prof.getKey();
|
rsProfileKey = prof.getKey();
|
||||||
this.rsProfileKey = rsProfileKey;
|
this.rsProfileKey = rsProfileKey;
|
||||||
|
|
||||||
|
eventBus.post(new RuneScapeProfileChanged());
|
||||||
}
|
}
|
||||||
setConfiguration(groupName, rsProfileKey, key, value);
|
setConfiguration(groupName, rsProfileKey, key, value);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user