summaryrefslogtreecommitdiffstats
path: root/src/controls/Button.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/Button.qml')
-rw-r--r--src/controls/Button.qml5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/controls/Button.qml b/src/controls/Button.qml
index 028607722..f724e5af5 100644
--- a/src/controls/Button.qml
+++ b/src/controls/Button.qml
@@ -78,10 +78,7 @@ BasicButton {
*/
property Menu menu: null
- /*! \qmlproperty bool BasicButton::pressed
-
- This property holds whether the button is being pressed. */
- readonly property bool pressed: __behavior.effectivePressed || menu && menu.__popupVisible
+ __effectivePressed: __behavior.effectivePressed || menu && menu.__popupVisible
activeFocusOnTab: true