New chart dialog no stay on top

.. to avoid clashing with dialogs opened from the chart
   settings.

Fixes #562.
This commit is contained in:
Mark Liversedge
2013-04-08 19:45:06 +01:00
parent 7750b5949e
commit 796ecf7aaa

View File

@@ -1006,7 +1006,7 @@ HomeWindow::drawCursor()
GcWindowDialog::GcWindowDialog(GcWinID type, MainWindow *mainWindow) : mainWindow(mainWindow), type(type)
{
//setAttribute(Qt::WA_DeleteOnClose);
setWindowFlags(windowFlags() | Qt::WindowStaysOnTopHint);
setWindowFlags(windowFlags());
setWindowTitle(tr("Chart Setup"));
setMinimumHeight(500);
setMinimumWidth(800);