Skip to content

Commit

Permalink
#5613: Fix signal emission on changed key value
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed Oct 16, 2021
1 parent cc26546 commit 40be3e6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions libs/selection/CollectiveSpawnargs.h
@@ -1,11 +1,12 @@
#pragma once

#include "ientity.h"
#include <map>
#include <set>
#include <algorithm>
#include <string>
#include <sigc++/signal.h>
#include "ientity.h"
#include "i18n.h"

namespace selection
{
Expand Down Expand Up @@ -286,7 +287,7 @@ class CollectiveSpawnargs
{
// Value differs, the set is no longer sharing a single value
keyValueSet.valueIsEqualOnAllEntities = false;
_sigKeyRemoved.emit(key);
_sigKeyValueSetChanged.emit(key, "");
}
}
}
Expand Down

0 comments on commit 40be3e6

Please sign in to comment.