Commit d9d39ab2 authored by hjk's avatar hjk
Browse files

allow saved actions with no representaion in the configuration dialog

Useful for simple context menu items.
parent 9be3ab0f
......@@ -421,7 +421,8 @@ void SavedAction::trigger(const QVariant &data)
void SavedActionSet::insert(SavedAction *action, QWidget *widget)
{
m_list.append(action);
action->connectWidget(widget);
if (widget)
action->connectWidget(widget);
}
void SavedActionSet::apply(QSettings *settings)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment