diff options
Diffstat (limited to 'src/gui/windows/maileditwindow.cpp')
-rw-r--r-- | src/gui/windows/maileditwindow.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/gui/windows/maileditwindow.cpp b/src/gui/windows/maileditwindow.cpp index d6f91e394..2d65e73e6 100644 --- a/src/gui/windows/maileditwindow.cpp +++ b/src/gui/windows/maileditwindow.cpp @@ -179,3 +179,18 @@ void MailEditWindow::addItem(const Item *const item, const int amount) Equipm_false, Equipped_false); } + +void MailEditWindow::setSubject(const std::string &str) +{ + mSubjectField->setText(str); +} + +void MailEditWindow::setTo(const std::string &str) +{ + mToField->setText(str); +} + +void MailEditWindow::setMessage(const std::string &str) +{ + mMessageField->setText(str); +} |