mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2026-03-09 08:55:02 +00:00
- key focus fixes, still some left.
- attempting to resolve playlist sync issue git-svn-id: https://projectm.svn.sourceforge.net/svnroot/projectm/trunk@647 6778bc44-b910-0410-a7a0-be141de4315d
This commit is contained in:
@ -114,6 +114,9 @@ void QProjectM_MainWindow::keyReleaseEvent ( QKeyEvent * e ) {
|
||||
QModelIndex modelIndex;
|
||||
switch (e->key()) {
|
||||
case Qt::Key_L:
|
||||
if (ui.presetSearchBarLineEdit->hasFocus())
|
||||
return;
|
||||
|
||||
if (ui.lockPresetCheckBox->checkState() == Qt::Checked)
|
||||
ui.lockPresetCheckBox->setCheckState(Qt::Unchecked);
|
||||
else
|
||||
@ -156,6 +159,9 @@ void QProjectM_MainWindow::keyReleaseEvent ( QKeyEvent * e ) {
|
||||
return;
|
||||
|
||||
case Qt::Key_R:
|
||||
if (ui.presetSearchBarLineEdit->hasFocus())
|
||||
return;
|
||||
|
||||
//modelIndex.selectRandom()
|
||||
//modelIndex = QModelIndex(0,0,0);
|
||||
//selectPlaylistItem(modelIndex);
|
||||
|
||||
Reference in New Issue
Block a user