export bug fixed, UI updated

This commit is contained in:
Rafael 2016-04-08 19:46:27 +02:00
parent 59b8ba8835
commit 330f0e3984
7 changed files with 211 additions and 159 deletions

View file

@ -37,7 +37,7 @@ void ExportThread::run()
{
if (widget->isSelected())
{
if (profileMap[widget] == "SnapmaticWidget")
if (widget->getWidgetType() == "SnapmaticWidget")
{
SnapmaticWidget *picWidget = (SnapmaticWidget*)widget;
SnapmaticPicture *picture = picWidget->getPicture();
@ -73,7 +73,7 @@ void ExportThread::run()
}
}
}
else if (profileMap[widget] == "SavegameWidget")
else if (widget->getWidgetType() == "SavegameWidget")
{
SavegameWidget *sgdWidget = (SavegameWidget*)widget;
SavegameData *savegame = sgdWidget->getSavegame();