Skip to content

Commit 7928839

Browse files
committed
Merge branch 'master' of ssh://github.com/BatchDrake/SigDigger
2 parents 64a1caf + fcbfdfd commit 7928839

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

Default/GenericInspector/InspectorUI.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,8 @@ InspectorUI::setSampleRate(float rate)
370370

371371
for (auto p : this->controls)
372372
p->setSampleRate(rate);
373+
374+
onInspectorControlChanged();
373375
}
374376

375377
void
@@ -1188,7 +1190,9 @@ InspectorUI::getBaudRateFloat(void) const
11881190
// Check baudrate
11891191
if ((val = this->config->get("clock.baud")) != nullptr)
11901192
baud = val->getFloat();
1191-
1193+
else
1194+
baud = sampleRate;
1195+
11921196
return baud;
11931197
}
11941198

UIComponent/InspectionWidgetFactory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ InspectionWidgetFactory::registerGlobally()
272272
bool
273273
InspectionWidgetFactory::worksWith(QString inspClass) const
274274
{
275-
return inspClass != "raw" && inspClass != "power";
275+
return inspClass != "power";
276276
}
277277

278278
bool

0 commit comments

Comments
 (0)