issues/923

This commit is contained in:
恍兮惚兮 2024-07-24 00:56:53 +08:00
parent d8c59642ec
commit 386655c02d

View File

@ -2263,6 +2263,7 @@ class dialog_savedgame_new(QWidget):
def simplebutton(self, text, save, callback, exists): def simplebutton(self, text, save, callback, exists):
button5 = LPushButton(text) button5 = LPushButton(text)
button5.setMinimumWidth(10)
if save: if save:
self.savebutton.append((button5, exists)) self.savebutton.append((button5, exists))
button5.clicked.connect(callback) button5.clicked.connect(callback)
@ -3280,6 +3281,7 @@ class dialog_savedgame_v3(QWidget):
def simplebutton(self, text, save, callback, exists): def simplebutton(self, text, save, callback, exists):
button5 = LPushButton(text) button5 = LPushButton(text)
button5.setMinimumWidth(10)
if save: if save:
self.savebutton.append((button5, exists)) self.savebutton.append((button5, exists))
button5.clicked.connect(callback) button5.clicked.connect(callback)