mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-13 17:25:54 +00:00
Return current text of combo box properly in MiniQtHelper
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user