MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / setShowActionPanel

Method setShowActionPanel

app/src/UI/Dashboard.cpp:1088–1097  ·  view source on GitHub ↗

* @brief Enables/disables the action panel. */

Source from the content-addressed store, hash-verified

1086 * @brief Enables/disables the action panel.
1087 */
1088void UI::Dashboard::setShowActionPanel(const bool enabled)
1089{
1090 if (m_showActionPanel != enabled) {
1091 m_showActionPanel = enabled;
1092 if (m_persistSettings)
1093 m_settings.setValue("Dashboard/ShowActionPanel", m_showActionPanel);
1094
1095 Q_EMIT showActionPanelChanged();
1096 }
1097}
1098
1099/**
1100 * @brief Enables or disables auto-hiding the toolbar when the dashboard is shown.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected