aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/tattoo/tattoo_scene.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-07-25 11:26:09 -0400
committerPaul Gilbert2015-07-25 11:26:09 -0400
commitcb9aab65b0b49770f3552bbe001be012d45827e6 (patch)
treeca1256c32481da3235626198ab7a6e70c1d5fd28 /engines/sherlock/tattoo/tattoo_scene.cpp
parente77f9f1779adc885f85299840b4ab58a8dcb6c13 (diff)
downloadscummvm-rg350-cb9aab65b0b49770f3552bbe001be012d45827e6.tar.gz
scummvm-rg350-cb9aab65b0b49770f3552bbe001be012d45827e6.tar.bz2
scummvm-rg350-cb9aab65b0b49770f3552bbe001be012d45827e6.zip
SHERLOCK: RT: Clean up handling of WidgetLab for lab table scene
Diffstat (limited to 'engines/sherlock/tattoo/tattoo_scene.cpp')
-rw-r--r--engines/sherlock/tattoo/tattoo_scene.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sherlock/tattoo/tattoo_scene.cpp b/engines/sherlock/tattoo/tattoo_scene.cpp
index 9b5c5b2156..17c27a0ab6 100644
--- a/engines/sherlock/tattoo/tattoo_scene.cpp
+++ b/engines/sherlock/tattoo/tattoo_scene.cpp
@@ -49,7 +49,7 @@ static bool sortImagesY(const ShapeEntry &s1, const ShapeEntry &s2) {
/*----------------------------------------------------------------*/
-TattooScene::TattooScene(SherlockEngine *vm) : Scene(vm) {
+TattooScene::TattooScene(SherlockEngine *vm) : Scene(vm), _labWidget(vm) {
_labTableScene = false;
}
@@ -103,7 +103,7 @@ bool TattooScene::loadScene(const Common::String &filename) {
ui._menuMode = _labTableScene ? LAB_MODE : STD_MODE;
if (_labTableScene)
- ui._labWidget.summonWindow();
+ ui.addFixedWidget(&_labWidget);
}
return result;