Browse Source

removed unused texts in the ttkDesigner

pull/137/head
Eugenio Parodi 3 years ago
parent
commit
28a80e9e21
  1. 1
      ttkDesigner/app/designer.py
  2. 2
      ttkDesigner/app/main.py
  3. 1
      ttkDesigner/app/quickexport.py

1
ttkDesigner/app/designer.py

@ -283,7 +283,6 @@ class TTkDesigner(TTkGridLayout):
def _approveFile(fileName):
if os.path.exists(fileName):
messageBox = TTkMessageBox(
title='Title',
text= (
TTkString( f'A file named "{os.path.basename(fileName)}" already exists.\nDo you want to replace it?', TTkColor.BOLD) +
TTkString( f'\n\nReplacing it will overwrite its contents.') ),

2
ttkDesigner/app/main.py

@ -39,7 +39,7 @@ def main():
title="TTk Designer",
mouseTrack=True,
sigmask=(
# TTkTerm.Sigmask.CTRL_C |
TTkTerm.Sigmask.CTRL_C |
TTkTerm.Sigmask.CTRL_Q |
TTkTerm.Sigmask.CTRL_S |
TTkTerm.Sigmask.CTRL_Z ))

1
ttkDesigner/app/quickexport.py

@ -58,7 +58,6 @@ def QuickExport(data):
def _checkSaveFile(fileName):
if os.path.exists(fileName):
messageBox = ttk.TTkMessageBox(
title='Title',
text= (
ttk.TTkString( f'A file named "{os.path.basename(fileName)}" already exists.\nDo you want to replace it?', ttk.TTkColor.BOLD) +
ttk.TTkString( f'\n\nReplacing it will overwrite its contents.') ),

Loading…
Cancel
Save