Commit c45ebefb authored by xuanweiace's avatar xuanweiace

upd 加上字幕旁白的高亮

parent d949532b
...@@ -822,8 +822,8 @@ class MainWindow(QMainWindow, Ui_MainWindow): ...@@ -822,8 +822,8 @@ class MainWindow(QMainWindow, Ui_MainWindow):
self.prompt_dialog.show_with_msg("暂无音频可供预览,请重新生成") self.prompt_dialog.show_with_msg("暂无音频可供预览,请重新生成")
def checkIfTableItemCanChange(self, table: QTableWidget, i: int, j: int): def checkIfTableItemCanChange(self, table: QTableWidget, i: int, j: int):
# if table.objectName() == self.all_tableWidget.objectName() and j in constant.Content.ActivateColumns: if table.objectName() == self.all_tableWidget.objectName():
# return True return True
if table.objectName() == self.pb_tableWidget.objectName() and j in constant.Aside.ActivateColumns: if table.objectName() == self.pb_tableWidget.objectName() and j in constant.Aside.ActivateColumns:
return True return True
return False return False
......
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