Skip to content

Commit 8ac5c45

Browse files
committed
Commit for v0.3.6
1 parent 0bdd55b commit 8ac5c45

File tree

3 files changed

+25
-23
lines changed

3 files changed

+25
-23
lines changed

changelog.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@
8181
* Added import/export for simulation actions in csv-format
8282
* Added min/max params for simulation action of Increment
8383

84-
# 0.3.4
84+
# 0.3.6
8585

8686
* Added `ProjectInfo` dialog + update project xml file params
87+
* Added detection of changes in the project and confirmation prompt
88+
when exit and project is not saved

src/core/gui/core_ui.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1030,7 +1030,7 @@ void mbCoreUi::statusChange(int status)
10301030
//QPalette palette = m_lbSystemStatus->palette();
10311031
QPalette palette = this->palette();
10321032
palette.setColor(m_lbSystemStatus->backgroundRole(), Qt::green);
1033-
//palette.setColor(m_lbSystemStatus->foregroundRole(), Qt::green);
1033+
palette.setColor(m_lbSystemStatus->foregroundRole(), Qt::black);
10341034
m_lbSystemStatus->setPalette(palette);
10351035
m_ui.actionRuntimeStartStop->setText("Stop");
10361036
m_ui.actionRuntimeStartStop->setIcon(QIcon(":/core/icons/stop.png"));
@@ -1041,7 +1041,7 @@ void mbCoreUi::statusChange(int status)
10411041
//QPalette palette = m_lbSystemStatus->palette();
10421042
QPalette palette = this->palette();
10431043
palette.setColor(m_lbSystemStatus->backgroundRole(), Qt::gray);
1044-
//palette.setColor(m_lbSystemStatus->foregroundRole(), Qt::gray);
1044+
palette.setColor(m_lbSystemStatus->foregroundRole(), Qt::black);
10451045
m_lbSystemStatus->setPalette(palette);
10461046
m_ui.actionRuntimeStartStop->setText("Start");
10471047
m_ui.actionRuntimeStartStop->setIcon(QIcon(":/core/icons/play.png"));
@@ -1052,7 +1052,7 @@ void mbCoreUi::statusChange(int status)
10521052
//QPalette palette = m_lbSystemStatus->palette();
10531053
QPalette palette = this->palette();
10541054
palette.setColor(m_lbSystemStatus->backgroundRole(), Qt::yellow);
1055-
//palette.setColor(m_lbSystemStatus->foregroundRole(), Qt::yellow);
1055+
palette.setColor(m_lbSystemStatus->foregroundRole(), Qt::black);
10561056
m_lbSystemStatus->setPalette(palette);
10571057
m_ui.actionRuntimeStartStop->setText("Start");
10581058
m_ui.actionRuntimeStartStop->setIcon(QIcon(":/core/icons/play.png"));

src/core/sdk/mbcore_config.h

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
#ifndef MBCORE_CONFIG_H
2-
#define MBCORE_CONFIG_H
3-
4-
/*
5-
Major part of mbtools version
6-
*/
7-
#define MBTOOLS_VERSION_MAJOR 0
8-
9-
/*
10-
Minor part of mbtools version
11-
*/
12-
#define MBTOOLS_VERSION_MINOR 3
13-
14-
/*
15-
Patch part of mbtools version
16-
*/
17-
#define MBTOOLS_VERSION_PATCH 6
18-
19-
#endif // MBCORE_CONFIG_H
1+
#ifndef MBCORE_CONFIG_H
2+
#define MBCORE_CONFIG_H
3+
4+
/*
5+
Major part of mbtools version
6+
*/
7+
#define MBTOOLS_VERSION_MAJOR 0
8+
9+
/*
10+
Minor part of mbtools version
11+
*/
12+
#define MBTOOLS_VERSION_MINOR 3
13+
14+
/*
15+
Patch part of mbtools version
16+
*/
17+
#define MBTOOLS_VERSION_PATCH 6
18+
19+
#endif // MBCORE_CONFIG_H

0 commit comments

Comments
 (0)