Fixed a bug: the edit dialog fields were not cleared if an
[emufront] / src / dialogs / namedialog.cpp
index 2824dd7..0bbffbf 100644 (file)
@@ -97,3 +97,8 @@ void NameDialog::setDataObject(EmuFrontObject *ob)
     // we'll just refresh the name dialog pointer to a new object
     efObject = ob;
 }
+
+void NameDialog::clear()
+{
+    nameEdit->clear();
+}