projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b0aa8f
)
Settings: Activate first item upon dialog creation
author
Soeren Apel
<soeren@apelpie.net>
Mon, 13 Mar 2017 07:56:03 +0000
(08:56 +0100)
committer
Soeren Apel
<soeren@apelpie.net>
Mon, 13 Mar 2017 07:56:03 +0000
(08:56 +0100)
pv/dialogs/settings.cpp
patch
|
blob
|
history
diff --git
a/pv/dialogs/settings.cpp
b/pv/dialogs/settings.cpp
index 37b591b6d786dba5fdbf6b869ae1469db19a4e36..214ac9cf26e862aefd4208a4da84d685709d2655 100644
(file)
--- a/
pv/dialogs/settings.cpp
+++ b/
pv/dialogs/settings.cpp
@@
-60,6
+60,7
@@
Settings::Settings(DeviceManager &device_manager, QWidget *parent) :
pages = new QStackedWidget;
create_pages();
+ page_list->setCurrentIndex(page_list->model()->index(0, 0));
QHBoxLayout *tab_layout = new QHBoxLayout;
tab_layout->addWidget(page_list);