瀏覽代碼

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

bin 2 年之前
父節點
當前提交
60e014e0e3
共有 1 個文件被更改,包括 1 次插入1 次删除
  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();
 			}
 		} else {
-			if (pathList.size() > 1 &&
+			if (pathList.size() >= 1 &&
 			    index.row() < queue.length()) {
 				queue[index.row()].sourcePath = pathList[0];
 				checkInputPath(index.row());