Fixed issue #526. Dialog Detail is not on top after selection second object on

Mac.

--HG--
branch : release
This commit is contained in:
Roman Telezhynskyi 2016-07-09 13:55:51 +03:00
parent c5512294da
commit b91c0027b5
3 changed files with 5 additions and 0 deletions

View File

@ -12,6 +12,7 @@
- [#516] Valentina crashes when use "Point intersect line and axis" instrument.
- [#483] File lost.
- Fixed Bisector tool bug. The tool created internal variable for wrong segment.
- [#526] Dialog Detail is not on top after selection second object on Mac.
# Version 0.4.4 April 12, 2016
- Updated measurement templates with all measurements. Added new template Aldrich/Women measurements.

View File

@ -2799,6 +2799,8 @@ void MainWindow::ActionHistory(bool checked)
dialogHistory->setWindowFlags(Qt::Window);
connect(this, &MainWindow::RefreshHistory, dialogHistory, &DialogHistory::UpdateHistory);
connect(dialogHistory, &DialogHistory::DialogClosed, this, &MainWindow::ClosedActionHistory);
// Fix issue #526. Dialog Detail is not on top after selection second object on Mac.
dialogHistory->setWindowFlags(dialogHistory->windowFlags() | Qt::WindowStaysOnTopHint);
dialogHistory->show();
}
else

View File

@ -130,6 +130,8 @@ void DialogDetail::ChosenObject(quint32 id, const SceneObject &type)
}
ValidObjects(DetailIsValid());
// Fix issue #526. Dialog Detail is not on top after selection second object on Mac.
setWindowFlags(windowFlags() | Qt::WindowStaysOnTopHint);
this->show();
}
}