]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/dropdown.cpp
Add a selection_cleared signal to List
[libs/gltk.git] / source / dropdown.cpp
index e48303317b809601514ce71db7dded49dffbc068..5b1d19b4f4d6c04576e76a9a015b945b0a956a93 100644 (file)
@@ -62,13 +62,6 @@ void Dropdown::autosize_special(const Part &part, Geometry &ageom) const
        }
 }
 
-void Dropdown::set_selected_index(int index)
-{
-       list.set_selected_index(index);
-       if(index<0)
-               text.set(string());
-}
-
 void Dropdown::rebuild_special(const Part &part)
 {
        if(part.get_name()=="text")