summaryrefslogtreecommitdiff
path: root/src/gui/windows/insertcarddialog.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-20 17:18:10 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-20 17:18:10 +0300
commitd7f5bf6c2ad9fdcf2308b1c9d3a70e0f17b30adf (patch)
tree83f74801c0d950fb2e78ed583b8f71c74f8b1e9a /src/gui/windows/insertcarddialog.h
parentb2c6603542af1d5c34a3e252d9454ddf0b21fcc5 (diff)
downloadmv-d7f5bf6c2ad9fdcf2308b1c9d3a70e0f17b30adf.tar.gz
mv-d7f5bf6c2ad9fdcf2308b1c9d3a70e0f17b30adf.tar.bz2
mv-d7f5bf6c2ad9fdcf2308b1c9d3a70e0f17b30adf.tar.xz
mv-d7f5bf6c2ad9fdcf2308b1c9d3a70e0f17b30adf.zip
Show card name in insert card dialog.
Diffstat (limited to 'src/gui/windows/insertcarddialog.h')
-rw-r--r--src/gui/windows/insertcarddialog.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/windows/insertcarddialog.h b/src/gui/windows/insertcarddialog.h
index 1ebc823b3..aa10c9a02 100644
--- a/src/gui/windows/insertcarddialog.h
+++ b/src/gui/windows/insertcarddialog.h
@@ -35,7 +35,8 @@ class InsertCardDialog final : public SellDialog
*
* @see Window::Window
*/
- explicit InsertCardDialog(const int itemIndex);
+ InsertCardDialog(const int itemIndex,
+ const Item *const item);
A_DELETE_COPY(InsertCardDialog)
@@ -44,6 +45,7 @@ class InsertCardDialog final : public SellDialog
void sellAction(const ActionEvent &event) override final;
private:
+ const Item *mItem;
int mItemIndex;
};