Return current text of combo box properly in MiniQtHelper

This commit is contained in:
baldurk
2026-09-11 21:37:21 +01:00
parent 8392bca098
commit 8bcf63aced
+5
View File
@@ -444,6 +444,11 @@ rdcstr MiniQtHelper::GetWidgetText(QWidget *widget)
return w->toPlainText();
}
{
QComboBox *w = qobject_cast<QComboBox *>(widget);
if(w)
return w->currentText();
}
{
QGroupBox *w = qobject_cast<QGroupBox *>(widget);
if(w)