Skip to content

Commit e1277a7

Browse files
[python:4.2] Open external links in config labels by default
1 parent 9208712 commit e1277a7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

python/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
project(python VERSION 4.1)
1+
project(python VERSION 4.2)
22

33
find_package(Python3 COMPONENTS Interpreter Development REQUIRED)
44
find_package(pybind11 CONFIG REQUIRED)

python/src/trampolineclasses.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,9 @@ class PyPluginInstanceTrampoline : public PluginInstance
205205
{
206206
auto *lbl = new QLabel(w);
207207
lbl->setText(row_spec[key_text].cast<QString>());
208-
applyWidgetPropertiesIfAny(lbl, row_spec);
209208
lbl->setWordWrap(true);
209+
lbl->setOpenExternalLinks(true);
210+
applyWidgetPropertiesIfAny(lbl, row_spec);
210211
l->addRow(lbl);
211212
}
212213
else

0 commit comments

Comments
 (0)