Commit 255811b6 authored by LE BRETON Come's avatar LE BRETON Come
Browse files

Saves the parameter state.

parent 772a44d6
......@@ -92,6 +92,7 @@ QObject *dtkWidgetsMainWindowPrivate::populateAdvancedParametersSwitch(dtkWidget
if(!switch_widget) {
dtk::d_bool *switch_parameter = new dtk::d_bool("Advanced Parameters", false, false, true, "Shows / Hide the advanced parameters in the menu");
switch_parameter->setUid("menu_bar/switch_advanced_parameters");
switch_parameter->connect([=](QVariant v) {
if(!menubar) {
......
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