The (custom) entry was added to the combobox at each profile loading
See issue #5092
This commit is contained in:
@@ -356,3 +356,11 @@ Gtk::TreeIter ProfileStoreComboBox::addRow (const ProfileStoreEntry *profileStor
|
||||
return newEntry;
|
||||
}
|
||||
|
||||
/** @brief Delete a row from the first level of the tree */
|
||||
void ProfileStoreComboBox::deleteRow (const ProfileStoreEntry *profileStoreEntry)
|
||||
{
|
||||
Gtk::TreeIter entry = findRowFromEntry(profileStoreEntry);
|
||||
if (entry) {
|
||||
refTreeModel->erase(entry);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user