8387 the configuration dialog is shown. |
8387 the configuration dialog is shown. |
8388 """ |
8388 """ |
8389 if not Preferences.isConfigured(): |
8389 if not Preferences.isConfigured(): |
8390 self.__initDebugToolbarsLayout() |
8390 self.__initDebugToolbarsLayout() |
8391 |
8391 |
8392 if Preferences.hasEric6Configuration(): |
8392 EricMessageBox.information( |
8393 yes = EricMessageBox.yesNo( |
8393 self, |
8394 self, |
8394 self.tr("First time usage"), |
8395 self.tr("First time usage"), |
8395 self.tr( |
8396 self.tr( |
8396 """eric has not been configured yet. """ |
8397 "eric7 has not been configured yet but an eric6" |
8397 """The configuration dialog will be started.""" |
8398 " configuration was found. Shall this be" |
8398 ), |
8399 " imported?" |
8399 ) |
8400 ), |
|
8401 yesDefault=True, |
|
8402 ) |
|
8403 if yes: |
|
8404 Preferences.importEric6Configuration() |
|
8405 else: |
|
8406 EricMessageBox.information( |
|
8407 self, |
|
8408 self.tr("First time usage"), |
|
8409 self.tr( |
|
8410 """eric has not been configured yet. """ |
|
8411 """The configuration dialog will be started.""" |
|
8412 ), |
|
8413 ) |
|
8414 |
|
8415 self.showPreferences() |
8400 self.showPreferences() |
8416 Preferences.setConfigured() |
8401 Preferences.setConfigured() |
8417 |
8402 |
8418 def checkProjectsWorkspace(self): |
8403 def checkProjectsWorkspace(self): |
8419 """ |
8404 """ |