Adds functionality to the matrix and clip widget.
Review URL: https://codereview.appspot.com/6348058
git-svn-id: http://skia.googlecode.com/svn/trunk@4453 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/debugger/QT/SkDebuggerGUI.cpp b/debugger/QT/SkDebuggerGUI.cpp
index 9c98f48..4c00f0e 100644
--- a/debugger/QT/SkDebuggerGUI.cpp
+++ b/debugger/QT/SkDebuggerGUI.cpp
@@ -190,7 +190,6 @@
tr("Files (*.*)"));
fDirectoryWidgetActive = false;
if (!fileName.isNull()) {
-
QFileInfo pathInfo(fileName);
fPath = pathInfo.path();
loadPicture(fileName);
@@ -225,6 +224,9 @@
info.append("<br/>");
}
fInspectorWidget->setDetailText(info);
+ fInspectorWidget->setDisabled(false);
+ fInspectorWidget->setMatrix(fCanvasWidget->getCurrentMatrix());
+ fInspectorWidget->setClip(fCanvasWidget->getCurrentClip());
}
}
}