Fix potential crash in audio macro action

UpdateEntryData() could be called from ActionChanged() leading to a
potential double lock of switcher->m when triggerin other slots of this
widget
This commit is contained in:
WarmUpTill
2021-05-16 17:09:41 +02:00
committed by WarmUpTill
parent 2ce0b35921
commit 8f16d05a28
2 changed files with 17 additions and 11 deletions

View File

@@ -37,6 +37,7 @@ public:
MacroActionAudioEdit(
QWidget *parent,
std::shared_ptr<MacroActionAudio> entryData = nullptr);
void SetWidgetVisibility();
void UpdateEntryData();
static QWidget *Create(QWidget *parent,
std::shared_ptr<MacroAction> action)