2
0
forked from Ivasoft/DSView

Disalbed the way close device options dialog by ESC key

This commit is contained in:
dreamsourcelabTAI
2024-04-24 15:47:53 +08:00
parent 8d8559250c
commit 2acf419245

View File

@@ -930,7 +930,7 @@ void DeviceOptions::try_resize_scroll()
void DeviceOptions::keyPressEvent(QKeyEvent *event)
{
if (event->key() == Qt::Key_Escape && _have_no_channel) {
if (event->key() == Qt::Key_Escape) {
event->ignore();
return;
}