# Disable "Parameter" button

**URL:** <https://discuss.px4.io/t/disable-parameter-button/23763>\
**Category:** Development\
**Created:** [August 16, 2021, 8:08am UTC](https://discuss.px4.io/t/disable-parameter-button/23763 "2021-08-16T08:08:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sabar](https://discuss.px4.io/letter_avatar_proxy/v4/letter/s/58f4c7/32.png) [@Sabar](https://discuss.px4.io/u/Sabar)\
**Post date:** [August 16, 2021, 8:08am UTC](https://discuss.px4.io/t/disable-parameter-button/23763/1 "2021-08-16T08:08:10Z")

</div>

Hi,  
I am new to QGround Control and I have a task to disable the button “Parameter”, so that a user cannot change any parameter. Is there a way to do that? Thanks

---

<div class="post-metadata">

**Author:** ![alexwien7](https://discuss.px4.io/user_avatar/discuss.px4.io/alexwien7/32/8220_2.png) [@alexwien7](https://discuss.px4.io/u/alexwien7)\
**Post date:** [August 24, 2021, 10:12am UTC](https://discuss.px4.io/t/disable-parameter-button/23763/2 "2021-08-24T10:12:46Z")

</div>

Set visible to false in  
SetupView.qml

```auto
SubMenuButton {
                setupIndicator: false
                exclusiveGroup: setupButtonGroup
                visible: QGroundControl.multiVehicleManager.parameterReadyVehicleAvailable &&
                                    !QGroundControl.multiVehicleManager.activeVehicle.usingHighLatencyLink &&
                                    _corePlugin.showAdvancedUI
                text: qsTr("Parameters")

```

In future, if you don’t know the code well, to find such a location do a full text search of “Parameters” in \*.qml files. One of the results is the location posted above.  
Not the easiest thing to find.

---

<div class="post-metadata">

**Author:** ![Sabar](https://discuss.px4.io/letter_avatar_proxy/v4/letter/s/58f4c7/32.png) [@Sabar](https://discuss.px4.io/u/Sabar)\
**Post date:** [August 26, 2021, 1:39pm UTC](https://discuss.px4.io/t/disable-parameter-button/23763/3 "2021-08-26T13:39:04Z")

</div>

Thank you.

I cannot find the other Vehicle Setup buttons in a full text search, for example Safety, Camera etc, except for Parameters, Joystick, Firmware and Summary (They were all in SetupView.qml).

 ![image](https://discuss.px4.io/uploads/default/original/2X/e/ee434a1176ae005f7229f3d8514adbfc2e8726d7.jpeg)  
Any idea on how to locate them?

---

<div class="post-metadata">

**Author:** ![alexwien7](https://discuss.px4.io/user_avatar/discuss.px4.io/alexwien7/32/8220_2.png) [@alexwien7](https://discuss.px4.io/u/alexwien7)\
**Post date:** [August 27, 2021, 12:17pm UTC](https://discuss.px4.io/t/disable-parameter-button/23763/4 "2021-08-27T12:17:50Z")

</div>

Yes thats seems realy complex. I could find the location of the “Safety” name. But then it gets complex.  
These pages are Autopilot specific pages, loaded by a plugin mechanism.  
I hope the graphic below helps a bit

 ![grafik](https://discuss.px4.io/uploads/default/original/2X/3/350ac33a5d6f8f14047061ccfe3bacaab9723af1.png)

---

<div class="post-metadata">

**Author:** ![Sabar](https://discuss.px4.io/letter_avatar_proxy/v4/letter/s/58f4c7/32.png) [@Sabar](https://discuss.px4.io/u/Sabar)\
**Post date:** [August 29, 2021, 11:29am UTC](https://discuss.px4.io/t/disable-parameter-button/23763/5 "2021-08-29T11:29:42Z")

</div>

Thank you very much for your response.

Looking at the code of the file src/AutoPilotPlugins/APM/APMSafetyComponent.cc, I made this change below by removing the qml file and it worked. But as I new, I am afraid that by removing this, the QGroundControl maybe will not working properly now. Do you think is a bad way to remove the qml file?

 ![image](https://discuss.px4.io/uploads/default/original/2X/1/17356a60ef354a36f505e8d1b599f480bcf1a0d4.png)
