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.
This commit is contained in:
Soren Bjornstad 2020-11-02 19:07:53 -06:00
parent 6b0b3fcd6a
commit 7277e9485a

View File

@ -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()