mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2024-12-24 20:44:39 +03:00
TextItem editor size restoring has been fixed
This commit is contained in:
parent
1253d30610
commit
d4fb85dafd
@ -77,7 +77,7 @@ RCC_DIR = $${ARCH_DIR}/$${BUILD_TYPE}/rcc
|
|||||||
|
|
||||||
LIMEREPORT_VERSION_MAJOR = 1
|
LIMEREPORT_VERSION_MAJOR = 1
|
||||||
LIMEREPORT_VERSION_MINOR = 4
|
LIMEREPORT_VERSION_MINOR = 4
|
||||||
LIMEREPORT_VERSION_RELEASE = 118
|
LIMEREPORT_VERSION_RELEASE = 119
|
||||||
|
|
||||||
LIMEREPORT_VERSION = '\\"$${LIMEREPORT_VERSION_MAJOR}.$${LIMEREPORT_VERSION_MINOR}.$${LIMEREPORT_VERSION_RELEASE}\\"'
|
LIMEREPORT_VERSION = '\\"$${LIMEREPORT_VERSION_MAJOR}.$${LIMEREPORT_VERSION_MINOR}.$${LIMEREPORT_VERSION_RELEASE}\\"'
|
||||||
DEFINES += LIMEREPORT_VERSION_STR=\"$${LIMEREPORT_VERSION}\"
|
DEFINES += LIMEREPORT_VERSION_STR=\"$${LIMEREPORT_VERSION}\"
|
||||||
|
@ -30,6 +30,7 @@ void ContentEditor::editButtonClicked()
|
|||||||
dialog->setWindowTitle(propertyName());
|
dialog->setWindowTitle(propertyName());
|
||||||
QWidget* editor = dynamic_cast<BaseDesignIntf*>(m_object)->defaultEditor();
|
QWidget* editor = dynamic_cast<BaseDesignIntf*>(m_object)->defaultEditor();
|
||||||
dialog->layout()->addWidget(editor);
|
dialog->layout()->addWidget(editor);
|
||||||
|
dialog->resize(editor->size());
|
||||||
connect(editor,SIGNAL(destroyed()),dialog,SLOT(close()));
|
connect(editor,SIGNAL(destroyed()),dialog,SLOT(close()));
|
||||||
connect(editor,SIGNAL(destroyed()),this,SIGNAL(editingFinished()));
|
connect(editor,SIGNAL(destroyed()),this,SIGNAL(editingFinished()));
|
||||||
dialog->exec();
|
dialog->exec();
|
||||||
|
Loading…
Reference in New Issue
Block a user