mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-19 13:05:45 -04:00
FullscreenUI: Re-enable most previously-missing settings
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
#include "common/assert.h"
|
||||
#include "common/bitutils.h"
|
||||
#include "common/log.h"
|
||||
#include "frontend-common/imgui_manager.h"
|
||||
#include "mainwindow.h"
|
||||
#include "qthost.h"
|
||||
#include "qtutils.h"
|
||||
@ -205,6 +206,14 @@ bool DisplayWidget::event(QEvent* event)
|
||||
case QEvent::KeyRelease:
|
||||
{
|
||||
const QKeyEvent* key_event = static_cast<QKeyEvent*>(event);
|
||||
|
||||
if (ImGuiManager::WantsTextInput() && key_event->type() == QEvent::KeyPress)
|
||||
{
|
||||
const QString text(key_event->text());
|
||||
if (!text.isEmpty())
|
||||
emit windowTextEntered(text);
|
||||
}
|
||||
|
||||
if (key_event->isAutoRepeat())
|
||||
return true;
|
||||
|
||||
|
Reference in New Issue
Block a user