diff --git a/src/panda_qt/cheats_window.cpp b/src/panda_qt/cheats_window.cpp index cc2c94f64..2d7e6b4cb 100644 --- a/src/panda_qt/cheats_window.cpp +++ b/src/panda_qt/cheats_window.cpp @@ -69,6 +69,8 @@ void CheatEntryWidget::editClicked() { } CheatEditDialog::CheatEditDialog(Emulator* emu, CheatEntryWidget& cheatEntry) : QDialog(), emu(emu), cheatEntry(cheatEntry) { + setWindowTitle("Edit Cheat"); + setAttribute(Qt::WA_DeleteOnClose); setModal(true); @@ -159,6 +161,7 @@ void CheatEditDialog::rejected() { CheatsWindow::CheatsWindow(Emulator* emu, const std::filesystem::path& cheatPath, QWidget* parent) : QWidget(parent, Qt::Window), emu(emu), cheatPath(cheatPath) { + setWindowTitle("Cheats"); mainWindow = static_cast(parent); QVBoxLayout* layout = new QVBoxLayout; @@ -205,4 +208,4 @@ void CheatsWindow::removeClicked() { CheatEntryWidget* entry = static_cast(cheatList->itemWidget(item)); entry->Remove(); -} \ No newline at end of file +}