diff --git a/src/lib_gui/qt/window/QtMainWindow.cpp b/src/lib_gui/qt/window/QtMainWindow.cpp index a9e02706..d4d2ef37 100644 --- a/src/lib_gui/qt/window/QtMainWindow.cpp +++ b/src/lib_gui/qt/window/QtMainWindow.cpp @@ -272,12 +272,11 @@ void QtMainWindow::forceEnterLicense() LOG_ERROR("No enter license window on top of stack"); return; } - enterLicenseWindow->clear(); - enterLicenseWindow->setCancelAble(false); this->setEnabled(false); enterLicenseWindow->setEnabled(true); + enterLicenseWindow->setCloseVisible(true); } bool QtMainWindow::event(QEvent* event) @@ -341,6 +340,7 @@ void QtMainWindow::enterLicense() connect(enterLicenseWindow, SIGNAL(finished()), this, SLOT(activateWindow())); enterLicenseWindow->load(); + enterLicenseWindow->setCloseVisible(false); } void QtMainWindow::showStartScreen()