diff --git a/docs/user_manual/working_with_vector/img/action_dialog.png b/docs/user_manual/working_with_vector/img/action_dialog.png index 631dfb961f9..1feb5618681 100644 Binary files a/docs/user_manual/working_with_vector/img/action_dialog.png and b/docs/user_manual/working_with_vector/img/action_dialog.png differ diff --git a/docs/user_manual/working_with_vector/vector_properties.rst b/docs/user_manual/working_with_vector/vector_properties.rst index 8d947bcef89..5f7c2608cf4 100644 --- a/docs/user_manual/working_with_vector/vector_properties.rst +++ b/docs/user_manual/working_with_vector/vector_properties.rst @@ -2918,7 +2918,8 @@ that was selected from the identify results or attribute table (see :ref:`using_ Double quote marks can be used to group text into a single argument to the program, script or command. Double quotes will be ignored if preceded by a backslash. -Actions can invoke a single process, with arguments, so Boolean operators (such as ``&``, ``&&``, ``;``, ``|``) will not work. +Actions can invoke a single process, with arguments, so Boolean operators +(such as ``&``, ``&&``, ``;``, ``|``) will not work. In UNIX-like operating systems multiple commands can be executed via ``bash -c``. The :guilabel:`Action Scopes` allows you to define where the action should be available. @@ -2973,6 +2974,24 @@ The second example uses the \%\% notation, which does not rely on a particular field for its value. When the action is invoked, the \%\% will be replaced by the value of the selected field in the identify results or attribute table. +.. index:: Actions, Attribute Actions + single: Actions; Duplicate an action +.. _duplicating_actions: + +Duplicating Actions +------------------- + +QGIS allows you to duplicate existing actions. To duplicate an attribute action, +open the vector :guilabel:`Layer Properties` dialog and click on the :guilabel:`Actions` tab. +In the :guilabel:`Actions` tab, click the |duplicateAction| :sup:`Duplicate an action` +to open the :guilabel:`Duplicate Action` dialog. You must have selected at least one existing action +in order to create a duplicate. + +In the dialogue that appears, make any changes that are necessary. See :ref:`adding_actions` +for further information. Once finished, press :guilabel:`OK` to create a duplicate of the action with +any changes that you made. If you did not edit the description, or if you changed it to be +identical to the description of any other existing action, "_1" will be added to the end of it. + .. index:: single: Actions; Using actions .. _using_actions: @@ -3764,6 +3783,8 @@ To do so: :width: 1.5em .. |display| image:: /static/common/display.png :width: 1.5em +.. |duplicateAction| image:: /static/common/mActionDuplicateLayout.png + :width: 1.5em .. |editMetadata| image:: /static/common/editmetadata.png :width: 1.2em .. |elevationscale| image:: /static/common/elevationscale.png