aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui/onscreendialog.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/onscreendialog.cpp b/gui/onscreendialog.cpp
index 84b84f0192..e508c64290 100644
--- a/gui/onscreendialog.cpp
+++ b/gui/onscreendialog.cpp
@@ -116,6 +116,9 @@ OnScreenDialog::OnScreenDialog(bool isRecord) : Dialog("OnScreenDialog") {
_enableDrag = false;
_mouseOver = false;
_editDlgShown = false;
+
+ lastTime = 0;
+ dlg = 0;
}
void OnScreenDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 data) {