mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-01 19:06:58 +03:00
GH-1003 Fix settings dialog delays
This commit is contained in:
parent
8fb5d4add3
commit
c1c23e47a7
7 changed files with 18 additions and 24 deletions
|
|
@ -1382,8 +1382,11 @@ void ShowPageDialog(T raw_provider, QWidget * parent, QString open_page = QStrin
|
|||
auto provider = std::dynamic_pointer_cast<BasePageProvider>(raw_provider);
|
||||
if(!provider)
|
||||
return;
|
||||
PageDialog dlg(provider, open_page, parent);
|
||||
dlg.exec();
|
||||
{
|
||||
SettingsObject::Lock lock(MMC->settings());
|
||||
PageDialog dlg(provider, open_page, parent);
|
||||
dlg.exec();
|
||||
}
|
||||
}
|
||||
|
||||
void ShowInstancePageDialog(InstancePtr instance, QWidget * parent, QString open_page = QString())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue