mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 11:28:03 +02:00
Update MyLocations to not send rename request if unchanged
This commit is contained in:
parent
50b13c99a7
commit
9953fd6d2b
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ UserLocation::UserLocation(QString id, QString name, QString location) :
|
||||||
}
|
}
|
||||||
|
|
||||||
void UserLocation::requestRename(const QString& newName) {
|
void UserLocation::requestRename(const QString& newName) {
|
||||||
if (!_updating) {
|
if (!_updating && newName.toLower() != _name) {
|
||||||
_updating = true;
|
_updating = true;
|
||||||
|
|
||||||
JSONCallbackParameters callbackParams;
|
JSONCallbackParameters callbackParams;
|
||||||
|
|
Loading…
Reference in a new issue