Skip to content

Commit

Permalink
Merge pull request #85 from hhslepicka/startup_error
Browse files Browse the repository at this point in the history
FIX: Set no timeout for Splash.
  • Loading branch information
ZLLentz authored Oct 7, 2020
2 parents 316397f + 0bd01a4 commit b75a5ef
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lucid/splash.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,11 @@ def __init__(self, *args, **kwargs):
layout.addWidget(logo)

self.status_display = QtWidgets.QLabel()
tout = typhos.utils.TyphosLoading.LOADING_TIMEOUT_MS
# No Timeout!
typhos.utils.TyphosLoading.LOADING_TIMEOUT_MS = -1
loading = typhos.utils.TyphosLoading(self)
loading._handle_timeout = lambda *args, **kwargs: None
typhos.utils.TyphosLoading.LOADING_TIMEOUT_MS = tout

status_layout = QtWidgets.QHBoxLayout()
status_layout.addWidget(self.status_display)
Expand Down

0 comments on commit b75a5ef

Please sign in to comment.