diff --git a/limereport/lrbasedesignintf.cpp b/limereport/lrbasedesignintf.cpp index ba3b71d..d1fe88a 100644 --- a/limereport/lrbasedesignintf.cpp +++ b/limereport/lrbasedesignintf.cpp @@ -1180,13 +1180,6 @@ void BaseDesignIntf::showEditorDialog(){ QWidget *editor = defaultEditor(); if (editor) { editor->setStyleSheet(findRootWidget(scene()->views().at(0))->styleSheet()); - -#ifdef Q_OS_WIN - editor->setAttribute(Qt::WA_DeleteOnClose); - editor->setWindowFlags(Qt::Dialog); - editor->setWindowModality(Qt::ApplicationModal); - editor->show(); -#else QDialog* dialog = new QDialog(QApplication::activeWindow()); dialog->setAttribute(Qt::WA_DeleteOnClose); #ifdef Q_OS_MAC @@ -1201,7 +1194,6 @@ void BaseDesignIntf::showEditorDialog(){ connect(editor,SIGNAL(destroyed()),dialog,SLOT(close())); dialog->setWindowTitle(editor->windowTitle()); dialog->exec(); -#endif } }