mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-23 22:54:01 -06:00

Qt.openUrlExternally crashes on Windows, but python webbrowser works. So use that instead. Fixes Asana issue 33694049548892
15 lines
424 B
Python
15 lines
424 B
Python
from PyQt5.QtCore import QObject, pyqtSignal, pyqtSlot, pyqtProperty
|
|
|
|
import webbrowser
|
|
|
|
class CuraActions(QObject):
|
|
def __init__(self, parent = None):
|
|
super().__init__(parent)
|
|
|
|
@pyqtSlot()
|
|
def openDocumentation(self):
|
|
webbrowser.open("http://ultimaker.com/en/support/software")
|
|
|
|
@pyqtSlot()
|
|
def openBugReportPage(self):
|
|
webbrowser.open("http://github.com/Ultimaker/Cura/issues")
|