Skip to content

Commit

Permalink
Fixed no longer being able to modify addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
MR-Spagetty committed Jun 15, 2022
1 parent 0eaf185 commit e8cc5a1
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions AddressBook.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,6 @@ def set_theme(qApp: QApplication):
))



class MainWindow(QMainWindow):
def __init__(self):
"""Creates a MainWindow Object
Expand Down Expand Up @@ -534,17 +533,6 @@ def generate_layout(self):

self.setCentralWidget(QWidget())
self.centralWidget().setLayout(general_layout)

# information_layout = QFormLayout()
# information_widget = QWidget()
# information_widget.setLayout(information_layout)
# general_layout.addWidget(information_widget)
# information_layout.addRow("Selected Book: ",
# self.inform_selected_book)
# information_layout.addRow("Selected Address: ",
# self.inform_selected_address)
# information_layout.addRow("Debug: ",
# self.inform_debug)
general_layout.addWidget(self.address_selector)

address_tabs = QTabWidget()
Expand Down Expand Up @@ -628,7 +616,6 @@ def onGlyphDisplayClick(self, glyph_pos: int, glyph_type: str):
glyph_pos (int): the index of that glyph in the address
glyph_type (str): the type of glyph it is
"""
self.inform_debug.setText(f"{glyph_pos, glyph_type}")
self.glyph_dialogues[glyph_type].setWindowTitle(
f"{glyph_type}: {glyph_pos}")
self.glyph_dialogues[glyph_type].exec()
Expand Down

0 comments on commit e8cc5a1

Please sign in to comment.