|
|
|
@ -351,10 +351,12 @@ int UBApplication::exec(const QString& pFileToImport) |
|
|
|
|
if (pFileToImport.length() > 0) |
|
|
|
|
UBApplication::applicationController->importFile(pFileToImport); |
|
|
|
|
|
|
|
|
|
if (UBSettings::settings()->appStartMode->get().toInt()) |
|
|
|
|
applicationController->showDesktop(); |
|
|
|
|
else |
|
|
|
|
if (UBSettings::settings()->appStartMode->get().toInt() == 0) |
|
|
|
|
applicationController->showBoard(); |
|
|
|
|
else if (UBSettings::settings()->appStartMode->get().toInt() == 1) |
|
|
|
|
applicationController->showDesktop(); |
|
|
|
|
else if (UBSettings::settings()->appStartMode->get().toInt() == 2) |
|
|
|
|
applicationController->showDocument(); |
|
|
|
|
|
|
|
|
|
emit UBDrawingController::drawingController()->colorPaletteChanged(); |
|
|
|
|
|
|
|
|
|