Update file selection whenever an item is selected, not just clicked.

* This catches when you use typing to find an item, or select with the
  arrow keys.
This commit is contained in:
baldurk
2018-01-31 21:08:24 +00:00
parent edb85d834e
commit 29f5d7e53d
2 changed files with 14 additions and 0 deletions
@@ -61,6 +61,9 @@ private slots:
void on_forward_clicked();
void on_upFolder_clicked();
// manual slots
void fileList_selectionChanged(const QItemSelection &selected, const QItemSelection &deselected);
private:
Ui::VirtualFileDialog *ui;