summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/simplewidgets.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/simplewidgets.cpp')
-rw-r--r--desktop-widgets/simplewidgets.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/desktop-widgets/simplewidgets.cpp b/desktop-widgets/simplewidgets.cpp
index ceddf691c..992c681f3 100644
--- a/desktop-widgets/simplewidgets.cpp
+++ b/desktop-widgets/simplewidgets.cpp
@@ -128,6 +128,12 @@ void MinMaxAvgWidget::overrideMaxToolTipText(const QString &newTip)
d->maxValue->setToolTip(newTip);
}
+void MinMaxAvgWidget::setAvgVisibility(const bool visible)
+{
+ d->avgIco->setVisible(visible);
+ d->avgValue->setVisible(visible);
+}
+
RenumberDialog *RenumberDialog::instance()
{
static RenumberDialog *self = new RenumberDialog(MainWindow::instance());