summaryrefslogtreecommitdiff
path: root/Userland/Applications/FontEditor/MainWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Applications/FontEditor/MainWidget.cpp')
-rw-r--r--Userland/Applications/FontEditor/MainWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/FontEditor/MainWidget.cpp b/Userland/Applications/FontEditor/MainWidget.cpp
index c7a41e4468..c5fd3a874d 100644
--- a/Userland/Applications/FontEditor/MainWidget.cpp
+++ b/Userland/Applications/FontEditor/MainWidget.cpp
@@ -60,7 +60,7 @@ static constexpr Array pangrams = {
ErrorOr<RefPtr<GUI::Window>> MainWidget::create_preview_window()
{
auto window = TRY(GUI::Window::try_create(this));
- window->set_window_type(GUI::WindowType::ToolWindow);
+ window->set_window_mode(GUI::WindowMode::RenderAbove);
window->set_title("Preview");
window->resize(400, 150);
window->center_within(*this->window());