mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 20:35:59 +08:00
dont disappear when click on splashscreen
CURA-4343
This commit is contained in:
parent
879b3df816
commit
d2de039371
@ -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…
x
Reference in New Issue
Block a user