summaryrefslogtreecommitdiff
path: root/utils/themeeditor/gui/skinviewer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor/gui/skinviewer.cpp')
-rw-r--r--utils/themeeditor/gui/skinviewer.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/themeeditor/gui/skinviewer.cpp b/utils/themeeditor/gui/skinviewer.cpp
index f1f3af9c8c..ab4d522f2a 100644
--- a/utils/themeeditor/gui/skinviewer.cpp
+++ b/utils/themeeditor/gui/skinviewer.cpp
@@ -69,11 +69,15 @@ void SkinViewer::connectSkin(SkinDocument *skin)
QObject::connect(ui->codeUndoButton, SIGNAL(pressed()),
skin, SLOT(parseCode()));
+ QObject::connect(skin->scene(), SIGNAL(mouseMoved(QString)),
+ ui->coordinateLabel, SLOT(setText(QString)));
+
doc = skin;
}
else
{
ui->viewer->setScene(0);
+ ui->coordinateLabel->setText("");
doc = 0;
}