Skip to content
This repository was archived by the owner on Mar 31, 2020. It is now read-only.

Commit 02c4e22

Browse files
committed
Implemented basic About dialog, updated .gitignore
- Added basic About dialog. - Changed .gitignore to ignore .idea files.
1 parent ced7223 commit 02c4e22

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,6 @@ venv.bak/
102102

103103
# mypy
104104
.mypy_cache/
105+
106+
# pycharm
107+
.idea

project/windows/editor_window.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import tkinter as tk
22
from tkinter import filedialog
3+
from tkinter import messagebox
34
from typing import Tuple
45

56
from project.windows.editor_window_events import NewWordEvent
@@ -551,8 +552,11 @@ def on_about(self):
551552
Called when the 'About' action is selected from the Help menu.
552553
"""
553554

554-
# TODO: Implement About dialog.
555-
pass
555+
messagebox.showinfo(
556+
'About',
557+
f'{Constants.program_name}\n'
558+
f'By LargeKnome, Hanyuone, and Meta\n'
559+
)
556560

557561

558562
class EditorContextMenu(tk.Menu):

0 commit comments

Comments
 (0)