mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-02-01 18:40:12 -05:00
--Bug fixes:
-Crash on linux when saving style due to null pointer in m_Theme variable.
This commit is contained in:
parent
7269d2176a
commit
cbead15e18
@ -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()));
|
||||||
|
Loading…
Reference in New Issue
Block a user