From 9be90b76adb1518c4ffe0e365a18c5afcc3158f2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 23 Dec 2014 01:27:45 +0300 Subject: Add item type to item object. --- src/actions/actions.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/actions/actions.cpp') diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp index cddaaddcb..d43853790 100644 --- a/src/actions/actions.cpp +++ b/src/actions/actions.cpp @@ -1359,14 +1359,14 @@ impHandler0(createItems) if (!colors) { - dialog->addItem(id, 1, 100, 0); + dialog->addItem(id, 0, 1, 100, 0); } else { for (unsigned char f = 0; f < colors; f ++) { if (!info->getColor(f).empty()) - dialog->addItem(id, f, 100, 0); + dialog->addItem(id, 0, f, 100, 0); } } } -- cgit v1.2.3-60-g2f50