mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-15 01:53:09 +00:00
Start checking when return is pressed in the URL label.
This commit is contained in:
parent
167f2bf5a9
commit
c0c8f83827
1 changed files with 3 additions and 1 deletions
|
|
@ -185,11 +185,13 @@ Version 2 or later.</p>
|
|||
"""Display debug dialog."""
|
||||
self.debug.show()
|
||||
|
||||
def on_controlButton_clicked (self):
|
||||
def start (self):
|
||||
"""Start a new check."""
|
||||
if self.status == Status.idle:
|
||||
self.check()
|
||||
|
||||
on_controlButton_clicked = on_urlinput_returnPressed = start
|
||||
|
||||
def check (self):
|
||||
"""Check given URL."""
|
||||
self.controlButton.setEnabled(False)
|
||||
|
|
|
|||
Loading…
Reference in a new issue