mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
Little refactors (apply review comments). [CURA-6294]
This commit is contained in:
parent
ad6603bab8
commit
1f2fea14ce
3 changed files with 2 additions and 4 deletions
|
@ -453,7 +453,6 @@ class CuraApplication(QtApplication):
|
|||
# Misc.:
|
||||
"ConsoleLogger", #You want to be able to read the log if something goes wrong.
|
||||
"CuraEngineBackend", #Cura is useless without this one since you can't slice.
|
||||
# NOTE: User-Agreement is part of the 'onboarding flow' now (See Welcome Pages).
|
||||
"FileLogger", #You want to be able to read the log if something goes wrong.
|
||||
"XmlMaterialProfile", #Cura crashes without this one.
|
||||
"Toolbox", #This contains the interface to enable/disable plug-ins, so if you disable it you can't enable it back.
|
||||
|
|
|
@ -7,7 +7,6 @@ from PyQt5.QtCore import QUrl, Qt
|
|||
|
||||
from UM.Qt.ListModel import ListModel
|
||||
from UM.Resources import Resources
|
||||
from logging import Logger
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from PyQt5.QtCore import QObject
|
||||
|
|
|
@ -78,13 +78,13 @@ UM.MainWindow
|
|||
{
|
||||
welcomeDialog.visible = true;
|
||||
welcomeDialog.currentStep = 0;
|
||||
welcomeDialog.show();
|
||||
}
|
||||
else
|
||||
{
|
||||
welcomeDialog.hide()
|
||||
welcomeDialog.visible = false;
|
||||
}
|
||||
// TODO: While the new onboarding process contains the user-agreement,
|
||||
// it should probably not entirely rely on 'needToShowUserAgreement' for show/hide.
|
||||
}
|
||||
|
||||
Item
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue