Qt TAS editor minor improvements.

This commit is contained in:
mjbudd77 2021-12-03 06:28:19 -05:00
parent f18604926a
commit d63517dc75
1 changed files with 5 additions and 2 deletions

View File

@ -2900,7 +2900,8 @@ bool TasEditorWindow::handleColumnSet(void)
{ {
changes_made = true; changes_made = true;
//pianoRoll.redrawRow(*it); //pianoRoll.redrawRow(*it);
pianoRoll->update(); //pianoRoll->update();
lowerMarkerNote->setFocus(); // Piano roll will update at next periodic cycle
} }
} }
} }
@ -2919,7 +2920,7 @@ bool TasEditorWindow::handleColumnSet(void)
markersManager.removeMarkerFromFrame(*it); markersManager.removeMarkerFromFrame(*it);
changes_made = true; changes_made = true;
//pianoRoll.redrawRow(*it); //pianoRoll.redrawRow(*it);
pianoRoll->update(); //pianoRoll->update(); // Piano roll will update at next periodic cycle
} }
} }
if (changes_made) if (changes_made)
@ -5449,6 +5450,7 @@ void TasFindNoteWindow::findNextClicked(void)
current_frame--; current_frame--;
if (current_frame < 0) if (current_frame < 0)
{ {
QMessageBox::information( this, tr("Find Note"), tr("Nothing was found!") );
printf("Nothing was found\n"); printf("Nothing was found\n");
//MessageBox(taseditorWindow.hwndFindNote, "Nothing was found.", "Find Note", MB_OK); //MessageBox(taseditorWindow.hwndFindNote, "Nothing was found.", "Find Note", MB_OK);
break; break;
@ -5459,6 +5461,7 @@ void TasFindNoteWindow::findNextClicked(void)
current_frame++; current_frame++;
if (current_frame >= movie_size) if (current_frame >= movie_size)
{ {
QMessageBox::information( this, tr("Find Note"), tr("Nothing was found!") );
printf("Nothing was found\n"); printf("Nothing was found\n");
//MessageBox(taseditorWindow.hwndFindNote, "Nothing was found!", "Find Note", MB_OK); //MessageBox(taseditorWindow.hwndFindNote, "Nothing was found!", "Find Note", MB_OK);
break; break;