Fix Canvas Size Units showing incorrectly
This commit is contained in:
parent
8861f5e46d
commit
cf49bf66d6
1 changed files with 2 additions and 0 deletions
|
@ -548,7 +548,9 @@ CanvasSizePopup::CanvasSizePopup()
|
|||
m_unit->addItem(tr("field"), "field");
|
||||
m_unit->addItem(tr("inch"), "inch");
|
||||
m_unit->setFixedHeight(DVGui::WidgetHeight);
|
||||
m_unit->hide();
|
||||
if (Preferences::instance()->isShowAdvancedOptionsEnabled()) {
|
||||
m_unit->show();
|
||||
addWidget(tr("Unit:"), m_unit);
|
||||
connect(m_unit, SIGNAL(currentIndexChanged(int)), this,
|
||||
SLOT(onUnitChanged(int)));
|
||||
|
|
Loading…
Reference in a new issue