mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-22 06:03:57 -06:00
dont disappear when click on splashscreen
CURA-4343
This commit is contained in:
parent
3cdf3f6097
commit
f7d14c5b7f
1 changed files with 4 additions and 0 deletions
|
@ -41,6 +41,10 @@ class CuraSplashScreen(QSplashScreen):
|
||||||
self._loading_image_rotation_angle -= 10
|
self._loading_image_rotation_angle -= 10
|
||||||
self.repaint()
|
self.repaint()
|
||||||
|
|
||||||
|
# Override the mousePressEvent so the splashscreen doesn't disappear when clicked
|
||||||
|
def mousePressEvent(self, mouse_event):
|
||||||
|
pass
|
||||||
|
|
||||||
def drawContents(self, painter):
|
def drawContents(self, painter):
|
||||||
if self._to_stop:
|
if self._to_stop:
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue