swt2c / rpms / megaglest

Forked from rpms/megaglest 5 years ago
Clone
Blob Blame History Raw
diff -up megaglest-3.12.0/source/glest_game/facilities/components.h.orig megaglest-3.12.0/source/glest_game/facilities/components.h
--- megaglest-3.12.0/source/glest_game/facilities/components.h.orig	2016-06-24 07:38:33.220502182 -0300
+++ megaglest-3.12.0/source/glest_game/facilities/components.h	2016-06-24 07:38:40.425502639 -0300
@@ -271,8 +271,8 @@ public:
 
     void pushBackItem(string item, string translated_item="");
     void setItems(const vector<string> &items, const vector<string> translated_items=vector<string>());
-	void setSelectedItemIndex(int index, bool errorOnMissing=true);
-    void setSelectedItem(string item, bool errorOnMissing=true);
+	void setSelectedItemIndex(int index, bool errorOnMissing=false);
+    void setSelectedItem(string item, bool errorOnMissing=false);
     void setEditable(bool editable);
 
     bool hasItem(string item) const;