mirror of
https://github.com/lubosz/overte.git
synced 2025-04-14 04:26:18 +02:00
Fix bug on group settings
This commit is contained in:
parent
df32b61eaf
commit
80150565f6
1 changed files with 1 additions and 1 deletions
|
@ -786,7 +786,7 @@ Flow& Flow::operator=(const Flow& otherFlow) {
|
|||
}
|
||||
|
||||
void Flow::updateGroupSettings(const QString& group, const FlowPhysicsSettings& settings) {
|
||||
if (_groupSettings.find(group) != _groupSettings.end()) {
|
||||
if (_groupSettings.find(group) == _groupSettings.end()) {
|
||||
_groupSettings.insert(std::pair<QString, FlowPhysicsSettings>(group, settings));
|
||||
} else {
|
||||
_groupSettings[group] = settings;
|
||||
|
|
Loading…
Reference in a new issue