mirror of
https://github.com/YACReader/yacreader
synced 2025-07-21 06:24:39 -04:00
fixed show/hide toolbar without any comic opened
This commit is contained in:
@ -713,6 +713,7 @@ void MainWindowViewer::disableActions()
|
||||
|
||||
void MainWindowViewer::keyPressEvent(QKeyEvent *event)
|
||||
{
|
||||
//TODO remove unused keys
|
||||
switch (event->key())
|
||||
{
|
||||
case Qt::Key_Escape:
|
||||
|
@ -386,6 +386,8 @@ void Viewer::keyPressEvent(QKeyEvent *event)
|
||||
QCoreApplication::sendEvent(mglass,event);
|
||||
}
|
||||
}
|
||||
else
|
||||
QAbstractScrollArea::keyPressEvent(event);
|
||||
}
|
||||
|
||||
void Viewer::wheelEvent(QWheelEvent * event)
|
||||
|
Reference in New Issue
Block a user