Hide bottom panel menu item when action disabled

parent ee3372fd
......@@ -42,6 +42,7 @@
<item>
<attribute name="label" translatable="yes">_Bottom Panel</attribute>
<attribute name="action">win.bottom_panel</attribute>
<attribute name="hidden-when">action-disabled</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Fullscreen</attribute>
......@@ -139,6 +140,7 @@
<item>
<attribute name="label" translatable="yes">_Bottom Panel</attribute>
<attribute name="action">win.bottom_panel</attribute>
<attribute name="hidden-when">action-disabled</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Fullscreen</attribute>
......
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