fix compile error
This commit is contained in:
parent
a19bd79975
commit
54030de19d
|
@ -173,7 +173,7 @@ namespace SparkleShare {
|
|||
this.combo_box.Changed += delegate {
|
||||
TreeIter iter;
|
||||
this.combo_box.GetActiveIter (out iter);
|
||||
// string selection = (string) this.combo_box.Model.GetValue (iter, 0);
|
||||
string selection = (string) this.combo_box.Model.GetValue (iter, 0);
|
||||
TreePath path = this.combo_box.Model.GetPath (iter);
|
||||
|
||||
if (path.Indices [0] == 0) {
|
||||
|
@ -181,7 +181,7 @@ namespace SparkleShare {
|
|||
Controller.SelectedFolder = null;
|
||||
} else {
|
||||
Console.WriteLine (">>> else statement: " + path.Indices [0]);
|
||||
Controller.SelectedFolder = path.Indices [0].ToString ();
|
||||
Controller.SelectedFolder = selection;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue