From 8bcf63aced78dff902da0581627e9201aacdbb52 Mon Sep 17 00:00:00 2001 From: baldurk Date: Fri, 11 Sep 2026 21:37:21 +0100 Subject: [PATCH] Return current text of combo box properly in MiniQtHelper --- qrenderdoc/Code/MiniQtHelper.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/qrenderdoc/Code/MiniQtHelper.cpp b/qrenderdoc/Code/MiniQtHelper.cpp index 53376db36..9cf5a2403 100644 --- a/qrenderdoc/Code/MiniQtHelper.cpp +++ b/qrenderdoc/Code/MiniQtHelper.cpp @@ -444,6 +444,11 @@ rdcstr MiniQtHelper::GetWidgetText(QWidget *widget) return w->toPlainText(); } + { + QComboBox *w = qobject_cast(widget); + if(w) + return w->currentText(); + } { QGroupBox *w = qobject_cast(widget); if(w)