Commit 45276db0 authored by xuanweiace's avatar xuanweiace

fix bug

parent cd14ab0e
......@@ -130,7 +130,7 @@ class Operation_Dialog(QDialog, Ui_Dialog):
utils.trans_to_seconds(self.timeEdit.time().toString("hh:mm:ss.zzz")))
if self.comboBox.currentText() == "字幕":
end_time_f = float(
utils.trans_to_seconds(self.timeEdit_2.time().toString("hh:mm.zzz")))
utils.trans_to_seconds(self.timeEdit_2.time().toString("hh:mm:ss.zzz")))
assert start_time_f < end_time_f
if row_number < rowCount:
# 要求结束时间在下一行的起始时间前面,对增加和修改都适用
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment