From 1e8048dd45149b8d574cf983e12ff5886d109da0 Mon Sep 17 00:00:00 2001 From: "Daniel J. Ramirez" Date: Fri, 8 Sep 2017 01:06:02 -0500 Subject: Improved theme generation, and other fixes --- scene/gui/dialogs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scene/gui') diff --git a/scene/gui/dialogs.cpp b/scene/gui/dialogs.cpp index 140d002387..d4912339da 100644 --- a/scene/gui/dialogs.cpp +++ b/scene/gui/dialogs.cpp @@ -195,7 +195,7 @@ void WindowDialog::_notification(int p_what) { RID canvas = get_canvas_item(); // Draw the background. - Ref panel = get_stylebox("panel", "WindowDialog"); + Ref panel = get_stylebox("panel"); Size2 size = get_size(); panel->draw(canvas, Rect2(0, 0, size.x, size.y)); -- cgit v1.2.3