Fix #534
This commit is contained in:
parent
a66a373c5b
commit
82989fbd2a
|
@ -174,15 +174,12 @@ namespace SparkleShare {
|
||||||
TreeIter iter;
|
TreeIter iter;
|
||||||
this.combo_box.GetActiveIter (out 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);
|
TreePath path = this.combo_box.Model.GetPath (iter);
|
||||||
|
|
||||||
if (path.Indices [0] == 0) {
|
if (path.Indices [0] == 0);
|
||||||
Console.WriteLine (">>> if statement");
|
|
||||||
Controller.SelectedFolder = null;
|
Controller.SelectedFolder = null;
|
||||||
} else {
|
else
|
||||||
Console.WriteLine (">>> else statement: " + path.Indices [0]);
|
|
||||||
Controller.SelectedFolder = selection;
|
Controller.SelectedFolder = selection;
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
this.layout_horizontal.BorderWidth = 9;
|
this.layout_horizontal.BorderWidth = 9;
|
||||||
|
|
Loading…
Reference in a new issue