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