Skip to content

Commit bd92690

Browse files
committed
Show filename of the running program in the titlebar
1 parent 6dde281 commit bd92690

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui/UserInterface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ UI::UserInterface::UserInterface(const std::string &fileName) {
1717

1818
this->emulator = std::make_shared<Core::Emulator>();
1919
this->keyboard = std::make_shared<Keyboard>(this->emulator);
20-
this->window = std::make_unique<Window>("8bit", this->keyboard);
20+
this->window = std::make_unique<Window>("8bit " + fileName, this->keyboard);
2121

2222
this->clock = std::make_shared<ClockModel>();
2323
this->bus = std::make_shared<ValueModel>("Bus", 8);

0 commit comments

Comments
 (0)