Skip to content

Commit 4ed1eed

Browse files
committed
Version R2.21-FP10
1 parent f057a3c commit 4ed1eed

File tree

9 files changed

+22
-22
lines changed

9 files changed

+22
-22
lines changed
1.21 KB
Binary file not shown.

Resources/Locale/gr/lang.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
NAME=Eλληνικά
22
AUTHOR=Nick Delta
3-
%=99
3+
%=100

bin/Code/Databases/WDB_Games.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -727,8 +727,6 @@ def tw_import(self):
727727
submenu.separador()
728728
submenu.opcion(self.tw_importar_pgn_rem, _("Remove comments and variations"), Iconos.PuntoRojo())
729729
menu.separador()
730-
menu.opcion(self.tw_importar_db, _("From other database"), Iconos.Database())
731-
menu.separador()
732730
submenu = menu.submenu(_("Paste PGN"), Iconos.Pegar16())
733731
submenu.opcion(self.tw_paste_pgn, _("Complete"), Iconos.PuntoVerde())
734732
submenu.separador()

bin/Code/ManagerVariations.py

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,10 @@ def start(self, game, is_white_bottom, with_engine_active, is_competitive, go_to
100100

101101
def run_action(self, key):
102102
if key == TB_ACCEPT:
103-
self.accepted = True
104-
# self.resultado =
105-
self.procesador.close_engines()
106-
self.main_window.accept()
103+
self.close_processes(True)
107104

108105
elif key == TB_CANCEL:
109-
self.procesador.close_engines()
110-
self.main_window.reject()
106+
self.close_processes(False)
111107

112108
elif key == TB_TAKEBACK:
113109
self.takeback()
@@ -165,14 +161,21 @@ def valor(self):
165161
else:
166162
return None
167163

168-
def final_x(self):
164+
def close_processes(self, accept: bool):
165+
self.accepted = accept
169166
self.procesador.close_engines()
170-
self.main_window.reject()
167+
self.main_window.activate_analysis_bar(False)
168+
if accept:
169+
self.main_window.accept()
170+
else:
171+
self.main_window.reject()
172+
173+
def final_x(self):
174+
self.close_processes(False)
171175
return False
172176

173177
def final_x0(self):
174-
self.procesador.close_engines()
175-
self.main_window.reject()
178+
self.close_processes(False)
176179
return False
177180

178181
def place_in_movement(self, movenum):

bin/Code/__init__.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@
2323
folder_resources = os.path.realpath("../Resources")
2424
folder_root = os.path.realpath("..")
2525

26-
pending = Util.opj(folder_root, "bin", "pending.py")
27-
if os.path.isfile(pending):
28-
with open(pending, "rt") as f:
29-
for linea in f:
30-
exec(linea.rstrip())
31-
os.remove(pending)
26+
# pending = Util.opj(folder_root, "bin", "pending.py")
27+
# if os.path.isfile(pending):
28+
# with open(pending, "rt") as f:
29+
# for linea in f:
30+
# exec(linea.rstrip())
31+
# os.remove(pending)
3232

3333

3434
def path_resource(*lista):
@@ -142,7 +142,7 @@ def relative_root(path):
142142

143143

144144
BASE_VERSION = "B" # Para el control de updates que necesitan reinstalar entero
145-
VERSION = "R 2.21-FP-9a"
145+
VERSION = "R 2.21-FP10"
146146
DEBUG = False
147147
DEBUG_ENGINES = False
148148

bin/LucasR.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
# Blog : https://lucaschess.blogspot.com
66
# Licence : GPL 3.0
77
# ==============================================================================
8-
import os
98
import sys
109
import warnings
1110

-32 Bytes
Binary file not shown.
2 KB
Binary file not shown.

bin/bug.log

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Version R 2.21-FP-9a
1+
Version R 2.21-FP10

0 commit comments

Comments
 (0)