From 3c7ec1268f2699884a5d96aa1df20742457caabd Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 24 Aug 2017 04:46:47 +0300 Subject: Add attach items to new mail. --- src/gui/windows/maileditwindow.cpp | 5 +++++ src/gui/windows/maileditwindow.h | 2 ++ 2 files changed, 7 insertions(+) (limited to 'src/gui') 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; -- cgit v1.2.3-70-g09d2