fix new price editing
authorkonrad <konrad@6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33>
Sat, 11 Dec 2010 21:27:25 +0000 (21:27 +0000)
committerkonrad <konrad@6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33>
Sat, 11 Dec 2010 21:27:25 +0000 (21:27 +0000)
git-svn-id: https://silmor.de/svn/softmagic/smoke/trunk@660 6e3c4bff-ac9f-4ac1-96c5-d2ea494d3e33

src/dialogs/eventedit.cpp

index 71e50ac..0497f9d 100644 (file)
@@ -331,6 +331,8 @@ void MEventEditor::addPrice()
        //use data
        ep.setprice(d.price->value());
        ep.setmaxavailable(d.cap->value());
+       ep.setprio(d.ord->value());
+       ep.setflags(d.flg->text());
        event.setprice(event.price()<<ep);
        updatePrice();
 }