changeset 94:7646ea81988f

RomWidget: use the rom's filename as title I gotta get around to properly encapsulating all this stuff and properly wiring up its signals with everything else.
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Tue, 10 Sep 2019 23:11:17 -0400
parents 7d2fcc60e24e
children 98d2871df3bf
files tilerswift
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tilerswift
+++ b/tilerswift
@@ -458,7 +458,7 @@
         paletteWidget.setLayout(self.toolbar)
         left.addWidget(paletteWidget)
 
-        left_dock = QW.QDockWidget("ROM tiles", self)
+        left_dock = QW.QDockWidget(filename[0].split("/")[-1], self)
         left_dock.setWidget(romWidget)
 
         iconpath = widget_icon_path(left_dock)