Merge remote-tracking branch 'origin/4.0' into 4.1

Change-Id: If651b6a5fddcdec5ce62a195448a30152a01fca6
This commit is contained in:
Eike Ziller
2016-09-27 12:11:03 +02:00

View File

@@ -179,6 +179,8 @@ void MacroManager::MacroManagerPrivate::removeMacro(const QString &name)
// Remove macro from the map
Macro *macro = macros.take(name);
if (macro == currentMacro)
currentMacro = 0;
delete macro;
}