[view.prepare] enhancement: skip button enabled after 10 seconds

This commit is contained in:
Vinicius Moreira
2023-01-10 11:06:26 -03:00
parent 1d36bfc2e5
commit ba90d0cdd8
2 changed files with 6 additions and 1 deletions

View File

@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## NEXT
### Improvements
- UI
- the "Skip" button on the initialization panel is now enabled after 10 seconds [#310](https://github.com/vinifmor/bauh/issues/310)
## [0.10.5] 2022-12-17 ## [0.10.5] 2022-12-17
### Fixes ### Fixes

View File

@@ -133,7 +133,7 @@ class EnableSkip(QThread):
ti = datetime.datetime.now() ti = datetime.datetime.now()
while True: while True:
if datetime.datetime.now() >= ti + datetime.timedelta(minutes=1.5): if datetime.datetime.now() >= ti + datetime.timedelta(seconds=10):
self.signal_timeout.emit() self.signal_timeout.emit()
break break