mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-05-27 00:49:58 +02:00
texteditor: set font size spinbox minimum to 4pt to prevent SIGSEGV
This commit is contained in:
@@ -335,7 +335,7 @@ void TextEditor::setUpWidget(QWidget *parent)
|
||||
|
||||
m_size_sb = new QSpinBox(parent);
|
||||
m_size_sb->setObjectName(QString::fromUtf8("m_size_sb"));
|
||||
m_size_sb->setMinimum(1);
|
||||
m_size_sb->setMinimum(4);
|
||||
|
||||
gridLayout->addWidget(m_size_sb, 2, 1, 1, 1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user