this is a workaround which should prevent that the key event is executed if a text/latex is written into the canvas.
This commit is contained in:
parent
688c319e6f
commit
d65b04e855
@ -939,6 +939,12 @@ void PMusrCanvas::HandleCmdKey(Int_t event, Int_t x, Int_t y, TObject *selected)
|
|||||||
if (event != kKeyPress)
|
if (event != kKeyPress)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
// this is a workaround which should prevent that the key event is executed if
|
||||||
|
// a text/latex is written into the canvas.
|
||||||
|
if (!strcmp(selected->GetTitle(), "dataTheoryPad"))
|
||||||
|
return;
|
||||||
|
|
||||||
|
|
||||||
if (fBatchMode) {
|
if (fBatchMode) {
|
||||||
if (fStartWithAvg) { // this is needed to get the averaging in the batch mode
|
if (fStartWithAvg) { // this is needed to get the averaging in the batch mode
|
||||||
fAveragedView = fStartWithAvg;
|
fAveragedView = fStartWithAvg;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user