mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -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();
|
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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user