mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-12-01 07:43:02 +00:00
ui/updater: Set modal flag after hiding the dialog
This fixes a bug with older Qt versions which would not remove the modal window from the parent in the setModal() call, resulting in an unusable parent window. Fixes #368
This commit is contained in:
parent
96ea36e07a
commit
e42cf4f325
1 changed files with 1 additions and 1 deletions
|
@ -109,8 +109,8 @@ void streamfx::ui::updater_dialog::show(streamfx::update_info current, streamfx:
|
||||||
|
|
||||||
void streamfx::ui::updater_dialog::hide()
|
void streamfx::ui::updater_dialog::hide()
|
||||||
{
|
{
|
||||||
this->setModal(false);
|
|
||||||
QDialog::hide();
|
QDialog::hide();
|
||||||
|
this->setModal(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
void streamfx::ui::updater_dialog::on_ok()
|
void streamfx::ui::updater_dialog::on_ok()
|
||||||
|
|
Loading…
Reference in a new issue