diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/windows/maileditwindow.cpp | 5 | ||||
-rw-r--r-- | src/gui/windows/maileditwindow.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/windows/maileditwindow.cpp b/src/gui/windows/maileditwindow.cpp index 5f7426a76..fb805e105 100644 --- a/src/gui/windows/maileditwindow.cpp +++ b/src/gui/windows/maileditwindow.cpp @@ -212,3 +212,8 @@ void MailEditWindow::close() { scheduleDelete(); } + +Inventory *MailEditWindow::getInventory() const +{ + return mInventory; +} diff --git a/src/gui/windows/maileditwindow.h b/src/gui/windows/maileditwindow.h index e25fb8f4f..a7d921f8d 100644 --- a/src/gui/windows/maileditwindow.h +++ b/src/gui/windows/maileditwindow.h @@ -56,6 +56,8 @@ class MailEditWindow final : public Window, void close() override final; + Inventory *getInventory() const A_WARN_UNUSED; + private: Button *mSendButton; Button *mCloseButton; |