mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-06-30 21:36:33 -04:00
--Bug fixes:
-Crash on linux when saving style due to null pointer in m_Theme variable.
This commit is contained in:
@ -53,6 +53,7 @@ QssDialog::QssDialog(Fractorium* parent) :
|
|||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
m_Parent = parent;
|
m_Parent = parent;
|
||||||
|
m_Theme = nullptr;
|
||||||
m_LastStyle = m_Parent->styleSheet();
|
m_LastStyle = m_Parent->styleSheet();
|
||||||
setWindowTitle("QSS Editor - default.qss");
|
setWindowTitle("QSS Editor - default.qss");
|
||||||
connect(ui->QssEdit, SIGNAL(textChanged()), this, SLOT(SlotTextChanged()));
|
connect(ui->QssEdit, SIGNAL(textChanged()), this, SLOT(SlotTextChanged()));
|
||||||
|
Reference in New Issue
Block a user