← easystroke

remove dead code

60df0a840c56e2c1e9635222b3cfb41b71c825d1 · Thomas Jaeger · Oct 9, 2012 22:11

−2 · 1 file changed

  • actions.cc +0 −2
diff --git a/actions.cc b/actions.cc
index 8e6f126..c8d8f8a 100644
--- a/actions.cc
+++ b/actions.cc
@@ -962,8 +962,6 @@ void Actions::on_accel_edited(const Glib::ustring& path_string, guint accel_key,
 }
 
 void Actions::on_combo_edited(const Glib::ustring& path_string, guint item) {
-	if (item < 0)
-		item = 0;
 	RMisc misc = Misc::create((Misc::Type)item);
 	Glib::ustring str = misc->get_label();
 	Gtk::TreeRow row(*tm->get_iter(path_string));