1
0
Fork 0
mirror of synced 2024-06-02 10:44:40 +12:00

ImportGroup: Rename button slot

This commit is contained in:
loathingKernel 2023-03-13 12:29:33 +02:00
parent a7b85500f2
commit fee1f34451
No known key found for this signature in database
GPG key ID: CE0C72D0B53821FD

View file

@ -201,7 +201,7 @@ class ImportGroup(QGroupBox):
self.ui.import_button.setEnabled(False)
self.ui.import_button.clicked.connect(
lambda: self.import_pressed(self.path_edit.text())
lambda: self.__import(self.path_edit.text())
)
self.button_info_stack = QStackedWidget(self)
@ -272,7 +272,7 @@ class ImportGroup(QGroupBox):
self.ui.import_button.setEnabled(self.ui.import_folder_check.isChecked() or self.app_name_edit.is_valid)
@pyqtSlot(str)
def import_pressed(self, path: Optional[str] = None):
def __import(self, path: Optional[str] = None):
if not path:
path = self.path_edit.text()
worker = ImportWorker(