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.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sidebar.cc b/src/sidebar.cc
index 65fffb4..6298589 100644
--- a/src/sidebar.cc
+++ b/src/sidebar.cc
@@ -11,7 +11,7 @@
#include <QTextEdit>
#include "sidebar.h"
-#include "mapentity.h"
+#include "entitywidget.h"
namespace editor
{
@@ -69,7 +69,7 @@ SideBar::SideBar(QWidget *parent) : QWidget(parent)
setLayout(box_global);
- last_selected = 0;
+ setEntity(0);
}
void SideBar::updateEntityLocationX(const QString &value)
@@ -108,7 +108,7 @@ void SideBar::updateEntityLocationZ(const QString &value)
}
}
-void SideBar::setEntity(MapEntity *entity)
+void SideBar::setEntity(EntityWidget *entity)
{
QString value;