add quickdelete option; closes #183

togglebutton in the ui switches between 2 (off/default) and
1 (on/quick) confirmations; global-option `--qdel` sets the default

setting `--qdel=0` changes the togglebutton to switch
between 1 (off/default) confirmations and 0 (on)

in other words, when the ui-button is enabled, it
always reduces the number of confirmations by one
This commit is contained in:
ed 2025-07-25 18:31:49 +00:00
parent 2d322dd48e
commit 21a96bcfe8
4 changed files with 18 additions and 1 deletions

View file

@ -2670,6 +2670,7 @@ class AuthSrv(object):
"def_hcols": list(vf.get("mth") or []),
"unlist0": vf.get("unlist") or "",
"see_dots": self.args.see_dots,
"dqdel": self.args.qdel,
"dgrid": "grid" in vf,
"dgsel": "gsel" in vf,
"dnsort": "nsort" in vf,