Ensure the Escape key doesn't make Plot and Remote docks go away

Override reject() as done in other dock dialogs.

Fixes #1310
This commit is contained in:
mgrojo
2018-01-30 20:33:15 +01:00
parent c8276030ae
commit 5dbb7ff645
4 changed files with 18 additions and 0 deletions

View File

@@ -861,3 +861,10 @@ void PlotDock::toggleStackedBars(bool stacked)
adjustBars();
ui->plotWidget->replot();
}
void PlotDock::reject()
{
// We override this, to ensure the Escape key doesn't make this dialog
// dock go away
return;
}