mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-09 23:24:44 +00:00
Default to last URL checked in GUI.
This commit is contained in:
parent
752941e029
commit
7ebe67d7f6
2 changed files with 7 additions and 0 deletions
|
|
@ -14,6 +14,11 @@ Fixes:
|
|||
Closes: SF bug #3377193
|
||||
- checking: Ignore attribute errors when printing the Qt version.
|
||||
|
||||
Changes:
|
||||
- gui: Default to last URL checked in GUI (if no URL is given as
|
||||
commandline parameter).
|
||||
Closes: SF bug 3311271
|
||||
|
||||
Features:
|
||||
- checking: New option --user-agent to set the User-Agent header
|
||||
string sent to HTTP web servers. Note that this does not change
|
||||
|
|
|
|||
|
|
@ -117,6 +117,8 @@ class LinkCheckerMain (QtGui.QMainWindow, Ui_MainWindow):
|
|||
self.urlinput.setModel(self.recent)
|
||||
if url:
|
||||
self.urlinput.setText(url)
|
||||
elif documents:
|
||||
self.urlinput.setText(documents[0])
|
||||
|
||||
def init_app (self):
|
||||
"""Set window size and position, GUI options and reset status."""
|
||||
|
|
|
|||
Loading…
Reference in a new issue