summaryrefslogtreecommitdiff
path: root/src/gui/widgets/attrs/attrdisplay.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/attrs/attrdisplay.h')
-rw-r--r--src/gui/widgets/attrs/attrdisplay.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/attrs/attrdisplay.h b/src/gui/widgets/attrs/attrdisplay.h
index c4f23339f..1641bac9f 100644
--- a/src/gui/widgets/attrs/attrdisplay.h
+++ b/src/gui/widgets/attrs/attrdisplay.h
@@ -54,7 +54,7 @@ class AttrDisplay notfinal : public Container
std::string getValue() const
{
- if (!mValue)
+ if (mValue == nullptr)
return "-";
else
return mValue->getCaption();