diff options
Diffstat (limited to 'src/dolphincontextmenu.cpp')
| -rw-r--r-- | src/dolphincontextmenu.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dolphincontextmenu.cpp b/src/dolphincontextmenu.cpp index 6fb362039..631b99efc 100644 --- a/src/dolphincontextmenu.cpp +++ b/src/dolphincontextmenu.cpp @@ -267,6 +267,9 @@ void DolphinContextMenu::addItemContextMenu() Q_ASSERT(!m_fileInfo.isNull()); const KFileItemListProperties &selectedItemsProps = selectedItemsProperties(); + // This is updated live in DolphinMainWindow::slotSelectionChanged but there can + // be situations where there are no selected items. + m_fileItemActions->setItemListProperties(selectedItemsProps); if (m_selectedItems.count() == 1) { // single files |
