Commit 275eae75 authored by nkx Nicholas's avatar nkx Nicholas
Browse files

TRestBrowser: plot option can be updated now with return key

parent dcd08d61
......@@ -145,6 +145,7 @@ void TRestBrowser::setButtons() {
fPlotOptionTextBox = new TGTextEntry(fVFrame, "");
fPlotOptionTextBox->SetText("");
fPlotOptionTextBox->Connect("ReturnPressed()", "TRestBrowser", this, "PlotAction()");
fVFrame->AddFrame(fPlotOptionTextBox, new TGLayoutHints(kLHintsExpandX | kLHintsExpandY));
auto switchbuttonbar = new TGHorizontalFrame(fVFrame);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment