Commit 42b08ef3 authored by Clément Fauconnier's avatar Clément Fauconnier

Revert "added possibility to start in Document Mode"

This reverts commit 62a5ad33.
parent e4e23c7f
......@@ -387,11 +387,6 @@
<string>Desktop</string>
</property>
</item>
<item>
<property name="text">
<string>Document</string>
</property>
</item>
</widget>
</item>
<item row="0" column="2">
......
......@@ -351,12 +351,10 @@ int UBApplication::exec(const QString& pFileToImport)
if (pFileToImport.length() > 0)
UBApplication::applicationController->importFile(pFileToImport);
if (UBSettings::settings()->appStartMode->get().toInt() == 0)
applicationController->showBoard();
else if (UBSettings::settings()->appStartMode->get().toInt() == 1)
if (UBSettings::settings()->appStartMode->get().toInt())
applicationController->showDesktop();
else if (UBSettings::settings()->appStartMode->get().toInt() == 2)
applicationController->showDocument();
else
applicationController->showBoard();
emit UBDrawingController::drawingController()->colorPaletteChanged();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment