summaryrefslogtreecommitdiff
path: root/src/gui/editdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editdialog.h')
-rw-r--r--src/gui/editdialog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/editdialog.h b/src/gui/editdialog.h
index 69f86edca..ef260acfb 100644
--- a/src/gui/editdialog.h
+++ b/src/gui/editdialog.h
@@ -57,7 +57,7 @@ class EditDialog : public Window, public gcn::ActionListener
*/
void action(const gcn::ActionEvent &event);
- std::string getMsg()
+ std::string getMsg() const
{ return mTextField->getText(); }
private: