No need to create view again upon showing warnings

It is now already done when initialization is completed.

Contributes to issue CURA-4557.
This commit is contained in:
Ruben D 2018-03-22 01:35:35 +01:00
parent 15ad528aa5
commit 25e7cb457d
No known key found for this signature in database
GPG key ID: 6B42C9465E304A62

View file

@ -102,9 +102,6 @@ class ModelChecker(QObject, Extension):
@pyqtSlot()
def showWarnings(self):
if not self._button_view:
self._createView()
if self._has_warnings:
self.self._caution_message.show()