Skip to content

Commit

Permalink
fix broken dialogs
Browse files Browse the repository at this point in the history
  • Loading branch information
Kriechi committed Oct 6, 2018
1 parent 2b9f17a commit 1b10c40
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog of Cura-DuetRRFPlugin

## v0.0.20: 2018-10-06
* fix broken dialogs

## v0.0.19: 2018-10-05
* fix more Cura 3.5 incompatibilities

Expand Down
4 changes: 0 additions & 4 deletions DuetRRFOutputDevice.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,6 @@ def requestWrite(self, node, fileName=None, *args, **kwargs):

path = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'UploadFilename.qml')
self._dialog = CuraApplication.getInstance().createQmlComponent(path, {"manager": self})
if dialog is None:
Logger.log("e", "QQmlComponent status %s", self._component.status())
Logger.log("e", "QQmlComponent errorString %s", self._component.errorString())
raise RuntimeError(self._component.errorString())
self._dialog.textChanged.connect(self.onFilenameChanged)
self._dialog.accepted.connect(self.onFilenameAccepted)
self._dialog.show()
Expand Down
4 changes: 0 additions & 4 deletions DuetRRFPlugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@ def stop(self):
def _createDialog(self, qml):
path = os.path.join(os.path.dirname(os.path.abspath(__file__)), qml)
dialog = CuraApplication.getInstance().createQmlComponent(path, {"manager": self})
if dialog is None:
Logger.log("e", "QQmlComponent status %s", self._component.status())
Logger.log("e", "QQmlComponent errorString %s", self._component.errorString())
raise RuntimeError(self._component.errorString())
return dialog

def _showDialog(self, qml):
Expand Down
2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "DuetRRF",
"author": "Thomas Kriechbaumer",
"description": "Upload and Print to DuetWifi / DuetEthernet / Duet Maestro with RepRapFirmware.",
"version": "0.0.19",
"version": "0.0.20",
"minimum_cura_version": "3.5",
"maximum_cura_version": "3.5",
"api": 5
Expand Down

0 comments on commit 1b10c40

Please sign in to comment.