From 7277e9485aede5fca29f81e1dfe45c8c692121c9 Mon Sep 17 00:00:00 2001 From: Soren Bjornstad Date: Mon, 2 Nov 2020 19:07:53 -0600 Subject: [PATCH] start with default value in reposition text box highlighted This saves a keystroke if you want to replace the default value. It's hard to imagine a situation in which you would want to *prepend* characters to the default value, as is the current behavior. If you want to accept the default value, you can still hit enter or tab immediately. --- qt/aqt/browser.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qt/aqt/browser.py b/qt/aqt/browser.py index 705044d12..34d5b763e 100644 --- a/qt/aqt/browser.py +++ b/qt/aqt/browser.py @@ -1743,6 +1743,7 @@ where id in %s""" txt = _("Queue top: %d") % pmin txt += "\n" + _("Queue bottom: %d") % pmax frm.label.setText(txt) + frm.start.selectAll() if not d.exec_(): return self.model.beginReset()