+ use dialog button box where possible, replace old Python icon
This commit is contained in:
@@ -406,7 +406,7 @@ MainWindow::MainWindow(QWidget * parent, Qt::WFlags f)
|
||||
// Python console
|
||||
PythonConsole* pcPython = new PythonConsole(this);
|
||||
pcPython->setWordWrapMode(QTextOption::NoWrap);
|
||||
pcPython->setWindowIcon(Gui::BitmapFactory().pixmap("python_small"));
|
||||
pcPython->setWindowIcon(Gui::BitmapFactory().pixmap("applications-python"));
|
||||
pcPython->setObjectName
|
||||
(QString::fromAscii(QT_TRANSLATE_NOOP("QDockWidget","Python console")));
|
||||
pDockMgr->registerDockWindow("Std_PythonView", pcPython);
|
||||
|
||||
Reference in New Issue
Block a user