summaryrefslogtreecommitdiff
path: root/src/gui/windows/connectiondialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/connectiondialog.cpp')
-rw-r--r--src/gui/windows/connectiondialog.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/windows/connectiondialog.cpp b/src/gui/windows/connectiondialog.cpp
index bdbd6af69..a01d7e353 100644
--- a/src/gui/windows/connectiondialog.cpp
+++ b/src/gui/windows/connectiondialog.cpp
@@ -80,3 +80,11 @@ void ConnectionDialog::draw(Graphics *graphics)
drawChildren(graphics);
BLOCK_END("ConnectionDialog::draw")
}
+
+void ConnectionDialog::safeDraw(Graphics *graphics)
+{
+ BLOCK_START("ConnectionDialog::draw")
+ // Don't draw the window background, only draw the children
+ drawChildren(graphics);
+ BLOCK_END("ConnectionDialog::draw")
+}