Refresh available interactable soruces on show

This commit is contained in:
WarmUpTill 2026-04-03 23:45:36 +02:00 committed by WarmUpTill
parent acfc7d605b
commit 38513735dd
2 changed files with 9 additions and 0 deletions

View File

@ -259,6 +259,12 @@ void MacroActionSourceInteractionEdit::AcceptRecorded(
_stepList->SetSteps(_entryData->_steps);
}
void MacroActionSourceInteractionEdit::showEvent(QShowEvent *event)
{
const QSignalBlocker b(this);
UpdateEntryData();
}
void MacroActionSourceInteractionEdit::SetCurrentStepEditor(int row)
{
if (_stepEditor) {

View File

@ -62,6 +62,9 @@ private slots:
signals:
void HeaderInfoChanged(const QString &);
protected:
void showEvent(QShowEvent *event) override;
private:
void SetCurrentStepEditor(int row);