Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/sidebar.cc')
-rw-r--r--src/sidebar.cc2
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();