Increase delay time for open file with double-clicking

CURA-5203
This commit is contained in:
Lipu Fei 2018-04-10 13:23:21 +02:00
parent b314d2bbe2
commit 4e625da168

View file

@ -696,7 +696,7 @@ class CuraApplication(QtApplication):
# initialized, for example opening files because they may show dialogs which can be closed due to incomplete
# GUI initialization.
self._post_start_timer = QTimer(self)
self._post_start_timer.setInterval(700)
self._post_start_timer.setInterval(1000)
self._post_start_timer.setSingleShot(True)
self._post_start_timer.timeout.connect(self._onPostStart)
self._post_start_timer.start()