File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,10 +124,14 @@ MacroEditorNotificationWidget::MacroEditorNotificationWidget (MacroEditorPage *p
124124void
125125MacroEditorNotificationWidget::action_triggered ()
126126{
127+ BEGIN_PROTECTED
128+
127129 auto a = m_action_buttons.find (sender ());
128130 if (a != m_action_buttons.end ()) {
129131 mp_parent->notification_action (*mp_notification, a->second );
130132 }
133+
134+ END_PROTECTED_W (this )
131135}
132136
133137void
Original file line number Diff line number Diff line change @@ -139,10 +139,14 @@ LayoutViewNotificationWidget::LayoutViewNotificationWidget (LayoutViewWidget *pa
139139void
140140LayoutViewNotificationWidget::action_triggered ()
141141{
142+ BEGIN_PROTECTED
143+
142144 auto a = m_action_buttons.find (sender ());
143145 if (a != m_action_buttons.end ()) {
144146 mp_parent->notification_action (*mp_notification, a->second );
145147 }
148+
149+ END_PROTECTED_W (this )
146150}
147151
148152void
You can’t perform that action at this time.
0 commit comments