bug: new_song now works properly
This commit is contained in:
parent
e87f1094a9
commit
0eef97dcfe
2 changed files with 34 additions and 41 deletions
|
@ -44,7 +44,7 @@ Item {
|
|||
newItemFunction: (function() {
|
||||
songProxyModel.setFilterRegularExpression("");
|
||||
songProxyModel.songModel.newSong();
|
||||
libraryList.currentIndex = songProxyModel.songModel.rowCount() - 1;
|
||||
libraryList.currentIndex = songProxyModel.songModel.count() - 1;
|
||||
if (!editMode)
|
||||
editMode = true;
|
||||
editSwitch(libraryList.currentIndex, "song");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue