diff --git a/src/mainwindow.cc b/src/mainwindow.cc index a25e416..de7aab8 100644 --- a/src/mainwindow.cc +++ b/src/mainwindow.cc @@ -186,10 +186,12 @@ void MainWindow::rebuildSinkCombo() { sinkTree->clear(); sinkTreeIndexes.clear(); + /* row = *(sinkTree->append()); idx++; row[deviceColumns.index] = -1; row[deviceColumns.name] = "Default Output"; + */ for (std::map::iterator i = sinkWidgets.begin(); i != sinkWidgets.end(); ++i) { Gtk::TreeModel::Row row = *(sinkTree->append()); @@ -359,10 +361,13 @@ void MainWindow::rebuildSourceCombo() { sourceTree->clear(); sourceTreeIndexes.clear(); + + /* row = *(sourceTree->append()); idx++; row[deviceColumns.index] = -1; row[deviceColumns.name] = "Default Input"; + */ for (std::map::iterator i = sourceWidgets.begin(); i != sourceWidgets.end(); ++i) { Gtk::TreeModel::Row row = *(sourceTree->append());