Skip to content

Commit 540c2bc

Browse files
teste 11$
1 parent 78c5aff commit 540c2bc

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

.github/workflows/build-linux-legacy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
workflow_dispatch:
1111

1212
env:
13-
VERSION: ${{ github.ref_type == 'tag' && github.ref_name || format('dev-{0}', github.run_number) }}
13+
VERSION: ${{ github.ref_type == 'tag' && github.ref_name || 1.1.0) }}
1414

1515
jobs:
1616
build-linux:

DocViewerDesktop/editor/actions/file_actions.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -278,16 +278,6 @@ def open_initial_File(self, file_path_str=None):
278278
"""
279279

280280
file_path = file_path_str
281-
#
282-
# # 1. Se o caminho do arquivo NÃO foi fornecido (ou é None), abre a caixa de diálogo.
283-
# if not file_path:
284-
# options = QFileDialog.Options()
285-
# options |= QFileDialog.ReadOnly
286-
# filter = "Markdown Files (*.md);;All Files (*)"
287-
# # A caixa de diálogo retorna o caminho e um filtro (que ignoramos com o _)
288-
# file_path, _ = QFileDialog.getOpenFileName(self, "Abrir Arquivo", "", filter, options=options)
289-
#
290-
# 2. Se um caminho válido foi obtido (seja via parâmetro ou diálogo)
291281
if file_path and os.path.exists(file_path):
292282
try:
293283
# Garante que o nome do arquivo seja extraído corretamente

0 commit comments

Comments
 (0)