Message::setPropagateToChildren() receives a bool argument

This commit is contained in:
David Capello 2021-06-07 17:17:18 -03:00
parent eec9ed0bcc
commit fb88a5c1f1
2 changed files with 2 additions and 2 deletions

View File

@ -943,7 +943,7 @@ void KeyboardShortcutsCommand::onExecute(Context* context)
// Save preferences in widgets that are bound to options automatically
{
Message msg(kSavePreferencesMessage);
msg.setPropagateToChildren(&msg);
msg.setPropagateToChildren(true);
window.sendMessage(&msg);
}

View File

@ -590,7 +590,7 @@ public:
// Save preferences in widgets that are bound to options automatically
{
Message msg(kSavePreferencesMessage);
msg.setPropagateToChildren(&msg);
msg.setPropagateToChildren(true);
sendMessage(&msg);
}