Start: Allow to not show start page on file open
This commit is contained in:
committed by
Yorik van Havre
parent
36cd5a55cf
commit
1007c822d6
@@ -73,7 +73,7 @@ void StartGui::Workbench::activated()
|
||||
QByteArray utf8Title = title.toUtf8();
|
||||
QByteArray cmd;
|
||||
QTextStream str(&cmd);
|
||||
str << "import WebGui" << endl;
|
||||
str << "import WebGui,sys,Start" << endl;
|
||||
str << "from StartPage import StartPage" << endl;
|
||||
str << endl;
|
||||
str << "class WebPage(object):" << endl;
|
||||
@@ -101,6 +101,7 @@ void StartGui::Workbench::activated()
|
||||
str << " self.pargrp.Detach(self.webPage)" << endl;
|
||||
str << endl;
|
||||
str << "webView=WebView()" << endl;
|
||||
str << "StartPage.checkPostOpenStartPage()" << endl;
|
||||
|
||||
Base::Interpreter().runString(cmd);
|
||||
// Gui::Command::runCommand(Gui::Command::Gui, cmd);
|
||||
|
||||
Reference in New Issue
Block a user