mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Use pyqtSlot to show more info dialog
CURA-5204
This commit is contained in:
parent
0d5b21932e
commit
35e7be1d41
5 changed files with 8 additions and 28 deletions
|
@ -64,10 +64,10 @@ class SliceInfo(QObject, Extension):
|
|||
def messageActionTriggered(self, message_id, action_id):
|
||||
Preferences.getInstance().setValue("info/asked_send_slice_info", True)
|
||||
if action_id == "MoreInfo":
|
||||
self._showMoreInfoDialog()
|
||||
self.showMoreInfoDialog()
|
||||
self.send_slice_info_message.hide()
|
||||
|
||||
def _showMoreInfoDialog(self):
|
||||
def showMoreInfoDialog(self):
|
||||
if self._more_info_dialog is None:
|
||||
self._more_info_dialog = self._createDialog("MoreInfoWindow.qml")
|
||||
self._more_info_dialog.open()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue