From: Urban Wallasch Date: Wed, 23 Jun 2021 16:46:39 +0000 (+0200) Subject: * Show full path on browse button in dict properties dialog. X-Git-Tag: v0.1.0~53 X-Git-Url: https://git.packet-gain.de/?a=commitdiff_plain;h=6478e72cd274e76406882c8f826b103323162f8e;p=jiten-pai.git * Show full path on browse button in dict properties dialog. --- diff --git a/jiten-pai.py b/jiten-pai.py index e06e365..6a52dfe 100755 --- a/jiten-pai.py +++ b/jiten-pai.py @@ -636,7 +636,7 @@ class dictDialog(QDialog): self.name_edit = QLineEdit(name) self.name_edit.setMinimumWidth(300) self.name_edit.textChanged.connect(self.name_chg) - self.path_edit = QPushButton(os.path.basename(path)) + self.path_edit = QPushButton(path) self.path_edit.setStyleSheet("QPushButton {text-align: left; padding: 0.2em;}"); self.path_edit.setIcon(jpIcon.open) self.path_edit.setMinimumWidth(300)