Setting UI improvement

* pressing shift while clicking the button shows overview
* hint in overview, that there are shortcuts
This commit is contained in:
Klaus Basan
2018-05-28 21:41:05 +02:00
parent 0ef58f03ba
commit 4021822753
11 changed files with 154 additions and 127 deletions

View File

@@ -321,13 +321,7 @@ namespace BlackGui
void CDockWidget::keyPressEvent(QKeyEvent *event)
{
if (event->key() == Qt::Key_Escape)
{
if (this->isFloating())
{
this->toggleFloating();
}
}
if (event->key() == Qt::Key_Escape && this->isFloating()) { this->toggleFloating(); }
QDockWidget::keyPressEvent(event);
}