mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
fixed regression editing labels and reading lists names
This commit is contained in:
parent
7e1280caae
commit
4d2e42ac8f
@ -1671,7 +1671,7 @@ void LibraryWindow::showRenameCurrentList()
|
||||
QModelIndexList selectedLists = listsView->selectionModel()->selectedIndexes();
|
||||
if(!selectedLists.isEmpty())
|
||||
{
|
||||
QModelIndex mi = selectedLists.at(0);
|
||||
QModelIndex mi = listsModelProxy->mapToSource(selectedLists.at(0));
|
||||
if(listsModel->isEditable(mi))
|
||||
{
|
||||
bool ok;
|
||||
|
Loading…
Reference in New Issue
Block a user