summaryrefslogtreecommitdiff
path: root/DevTools/HackStudio/CursorTool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'DevTools/HackStudio/CursorTool.cpp')
-rw-r--r--DevTools/HackStudio/CursorTool.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/DevTools/HackStudio/CursorTool.cpp b/DevTools/HackStudio/CursorTool.cpp
index 643f9ef701..98742d448b 100644
--- a/DevTools/HackStudio/CursorTool.cpp
+++ b/DevTools/HackStudio/CursorTool.cpp
@@ -1,6 +1,7 @@
#include "CursorTool.h"
#include "FormEditorWidget.h"
#include "FormWidget.h"
+#include "WidgetTreeModel.h"
#include <AK/LogStream.h>
void CursorTool::on_mousedown(GMouseEvent& event)
@@ -78,6 +79,7 @@ void CursorTool::on_mousemove(GMouseEvent& event)
widget.set_relative_rect(new_rect);
return IterationDecision::Continue;
});
+ m_editor.model().update();
return;
}
}