Add application property "confirm_timeout"

After this time (in seconds), a confirmation dialog for an action is automatically closed and the action is cancelled.
Set to 0 to disable the timeout. The default value is 3 seconds.
This commit is contained in:
Jan Schneider
2023-12-10 22:52:09 +01:00
parent ee3b2abed2
commit 143bcf08a7
3 changed files with 25 additions and 3 deletions

View File

@ -30,6 +30,12 @@
-->
<property id="app_timeout" type="number">0</property>
<!--
After this time (in seconds), a confirmation dialog for an action is automatically closed and the action is cancelled.
Set to 0 to disable the timeout. The default value is 3 seconds.
-->
<property id="confirm_timeout" type="number">3</property>
<property id="types_representation" type="boolean"></property>
<property id="menu_alignment" type="boolean"></property>

View File

@ -53,6 +53,16 @@
/>
</setting>
<setting
propertyKey="@Properties.confirm_timeout"
title="After this time (in seconds), a confirmation dialog for an action is automatically closed and the action is cancelled. Set to 0 to disable the timeout."
>
<settingConfig
type="numeric"
min="0"
/>
</setting>
<setting
propertyKey="@Properties.types_representation"
title="Representing types with icons (off) or with labels (on)"