diff options
Diffstat (limited to 'src/sidebar.cc')
-rw-r--r-- | src/sidebar.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sidebar.cc b/src/sidebar.cc index 0a99fd8..1c8014f 100644 --- a/src/sidebar.cc +++ b/src/sidebar.cc @@ -51,7 +51,7 @@ SideBar::SideBar(QWidget *parent) : QWidget(parent) void SideBar::setEntity(MapEntity *entity) { - if (entity) { + if (!entity) { edit_entitylabel->setEnabled(false); edit_entitylabel->clear(); |