Browse Source

UI: Correct browse behavior in non-empty input edit line

bin 2 years ago
parent
commit
60e014e0e3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      UI/window-remux.cpp

+ 1 - 1
UI/window-remux.cpp

@@ -349,7 +349,7 @@ bool RemuxQueueModel::setData(const QModelIndex &index, const QVariant &value,
 				endRemoveRows();
 				endRemoveRows();
 			}
 			}
 		} else {
 		} else {
-			if (pathList.size() > 1 &&
+			if (pathList.size() >= 1 &&
 			    index.row() < queue.length()) {
 			    index.row() < queue.length()) {
 				queue[index.row()].sourcePath = pathList[0];
 				queue[index.row()].sourcePath = pathList[0];
 				checkInputPath(index.row());
 				checkInputPath(index.row());