diff widgets/KeyReference.cpp @ 609:5f3f5c1e23e8

Add hide method
author Chris Cannam
date Mon, 30 Jan 2012 17:22:48 +0000
parents 3801289761a1
children d632a1e87018
line wrap: on
line diff
--- a/widgets/KeyReference.cpp	Mon Jan 30 16:06:32 2012 +0000
+++ b/widgets/KeyReference.cpp	Mon Jan 30 17:22:48 2012 +0000
@@ -194,3 +194,10 @@
     m_dialog->hide();
 }
 
+void
+KeyReference::hide()
+{
+    if (m_dialog) {
+        m_dialog->hide();
+    }
+}