Fix heap-buffer-overrun in PropertiesWidget::displayFilesListMenu