mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-13 06:03:37 +02:00
2021-02-25 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdlogedit(1) that broke searching for 'ALL' services. * Fixed a regression in rdlibrary(1) that broke searching for 'ALL' groups. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -57,7 +57,7 @@ void RDComboBox::addIgnoredKey(int key)
|
||||
bool RDComboBox::setCurrentText(const QString &str)
|
||||
{
|
||||
for(int i=0;i<count();i++) {
|
||||
if(itemData(i).toString()==str) {
|
||||
if(itemText(i)==str) {
|
||||
setCurrentIndex(i);
|
||||
return true;
|
||||
}
|
||||
@@ -92,7 +92,7 @@ void RDComboBox::keyPressEvent(QKeyEvent *e)
|
||||
bool RDComboBox::IsItemUnique(const QString &str)
|
||||
{
|
||||
for(int i=0;i<count();i++) {
|
||||
if(str==itemData(i).toString()) {
|
||||
if(str==itemText(i)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user