mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-11 06:15:05 +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
02bdd85ed4
commit
74c621cde5
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