Don't duplicate existing connections when adding a new one.

This commit is contained in:
Timothy Warren 2012-03-30 10:04:41 -04:00
parent 634a5b92a2
commit a199784934
1 changed files with 1 additions and 0 deletions

View File

@ -252,6 +252,7 @@ class Connection_Sidebar extends GtkVBox {
*/ */
public function refresh() public function refresh()
{ {
$this->treeview->reset();
$cols = $this->treeview->get_columns(); $cols = $this->treeview->get_columns();
foreach($cols as $c) foreach($cols as $c)