Re-add file to both combos when removed from any table.

This commit is contained in:
2017-04-29 08:46:40 +01:00
parent 6038c2b304
commit 0aea57a7c5
2 changed files with 7 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
2017-04-29 Natalia Portillo <claunia@claunia.com>
* dlgMetadata.cs:
Re-add file to both combos when removed from any table.
2017-04-29 Natalia Portillo <claunia@claunia.com>
* Core.cs:

View File

@@ -917,6 +917,7 @@ namespace osrepodbmgr
if(treeDiscs.Selection.GetSelected(out selectedIter))
{
cmbFilesForNewDisc.AppendText((string)lstDiscs.GetValue(selectedIter, 0));
cmbFilesForNewDisk.AppendText((string)lstDiscs.GetValue(selectedIter, 0));
lstDiscs.Remove(ref selectedIter);
}
}
@@ -1132,6 +1133,7 @@ namespace osrepodbmgr
if(treeDisks.Selection.GetSelected(out selectedIter))
{
cmbFilesForNewDisk.AppendText((string)lstDisks.GetValue(selectedIter, 0));
cmbFilesForNewDisc.AppendText((string)lstDisks.GetValue(selectedIter, 0));
lstDisks.Remove(ref selectedIter);
}
}