]> git.lyx.org Git - features.git/blobdiff - src/frontends/qt/GuiIndices.cpp
#10571 improved handling of WM's signal when switching from or to full-screen window
[features.git] / src / frontends / qt / GuiIndices.cpp
index 7c7a61014af6decd03a700daf2174ba882a99d86..5e145f56eb7446622f14487ef82f35774a54cd06 100644 (file)
@@ -146,7 +146,7 @@ void GuiIndices::updateView()
                // restore selected index
                if (iname == sel_index) {
                        indicesTW->setCurrentItem(newItem);
-                       indicesTW->setItemSelected(newItem, true);
+                       newItem->setSelected(true);
                }
        }
        indicesTW->resizeColumnToContents(0);