mirror of
https://github.com/x-tools-author/x-tools.git
synced 2025-09-15 15:28:40 +08:00
chore: rename value
This commit is contained in:
parent
9246634f49
commit
fd7bebf04c
@ -304,7 +304,7 @@ void Page::appendOutputControl(QWidget *widget)
|
||||
|
||||
void Page::hideChartsWidgets()
|
||||
{
|
||||
m_enableChars = false;
|
||||
m_enableCharts = false;
|
||||
ui->toolButtonCharts->setVisible(false);
|
||||
ui->widgetCharts->setVisible(false);
|
||||
ui->widgetChartsController->setVisible(false);
|
||||
@ -552,7 +552,7 @@ void Page::onBytesRead(const QByteArray &bytes, const QString &from)
|
||||
outputText(bytes, from, true);
|
||||
|
||||
#ifdef X_ENABLE_CHARTS
|
||||
if (m_enableChars) {
|
||||
if (m_enableCharts) {
|
||||
m_chartsView->inputBytes(bytes);
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -122,6 +122,6 @@ private:
|
||||
QSettings *m_settings;
|
||||
#ifdef X_ENABLE_CHARTS
|
||||
ChartsView *m_chartsView;
|
||||
bool m_enableChars{true};
|
||||
bool m_enableCharts{true};
|
||||
#endif
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user