New style more info dialog for SliceInfo

CURA-6057
This commit is contained in:
Lipu Fei 2019-04-08 14:12:03 +02:00
parent ac1b1a9902
commit 3bf8a1f257
3 changed files with 99 additions and 94 deletions

View file

@ -62,7 +62,7 @@ class SliceInfo(QObject, Extension):
def showMoreInfoDialog(self):
if self._more_info_dialog is None:
self._more_info_dialog = self._createDialog("MoreInfoWindow.qml")
self._more_info_dialog.open()
self._more_info_dialog.show()
def _createDialog(self, qml_name):
Logger.log("d", "Creating dialog [%s]", qml_name)