mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-15 05:32:21 +00:00
Fix Z-order for chart settings
Always on top hint is not appropriate for the chart settings since the LTM chart settings open another dialog -- which then appear behind the dialog and cannot be moved. Fixes #401.
This commit is contained in:
@@ -25,7 +25,7 @@ ChartSettings::ChartSettings(QWidget *parent, QWidget *contents) : QDialog(paren
|
||||
// Set the main window title.
|
||||
setWindowTitle(tr("Chart Settings"));
|
||||
setAttribute(Qt::WA_DeleteOnClose);
|
||||
setWindowFlags(windowFlags() | Qt::WindowStaysOnTopHint | Qt::WindowCloseButtonHint);
|
||||
setWindowFlags(windowFlags() | Qt::WindowCloseButtonHint);
|
||||
setModal(true);
|
||||
|
||||
// Create the main layout box.
|
||||
|
||||
Reference in New Issue
Block a user