summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorDaniel J. Ramirez <djrmuv@gmail.com>2017-09-08 01:06:02 -0500
committerDaniel J. Ramirez <djrmuv@gmail.com>2017-09-12 13:16:38 -0500
commit1e8048dd45149b8d574cf983e12ff5886d109da0 (patch)
treeb2bf1c11c6117be8015c64f16319641f8673677f /scene/gui
parent647a9141558e0dd618e62b0563dca3363387e897 (diff)
Improved theme generation, and other fixes
Diffstat (limited to 'scene/gui')
-rw-r--r--scene/gui/dialogs.cpp2
1 files changed, 1 insertions, 1 deletions
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<StyleBox> panel = get_stylebox("panel", "WindowDialog");
+ Ref<StyleBox> panel = get_stylebox("panel");
Size2 size = get_size();
panel->draw(canvas, Rect2(0, 0, size.x, size.y));